• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 75 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0035 秒)

1. 构造函数的__super.call(this)以及调用基类方法的laya.ui.Component.prototype.onCompResize.call(this);在2.0是怎么写的 [ 100%]

构造函数的__super.call(this)以及调用基类方法的laya.ui.Component.prototype.onCompResize.call(this);在2.0是怎么写的 语言:js 2019-03-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什...

来源: Laya_社区 发布时间: 20190322

2. layabox js中 的__super,call()是什么意思 [ 99%]

layabox js中 的__super,call()是什么意思 2017-02-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来自: _super是执行父类的调用 call是回调方法执行 2017-02-22 0 0 分享 微博...

来源: Laya_社区 发布时间: 20170222

3. BackGround.super(this);这个报错 Cannot read property 'call' of undefined [ 97%]

BackGround.super(this);这个报错 Cannot read property 'call' of undefined 2018-01-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Laya_Aaron 赞同来自: 你具体描述一下你出现问题的环境, 以...

来源: Laya_社区 发布时间: 20180110

4. 1.5.0 LayaAir IDE发布UI资源缺失! [ 93%]

...ar View=laya.ui.View; var Dialog=laya.ui.Dialog; var ABCPanelUI=(function(_super){         function ABCPanelUI(){                          ABCPanelUI.__super.call(this);         }         CLASS$(ABCPanelUI,'ui.abc.ABCPanelUI',_super);         var __proto__=A...

来源: Laya_社区 发布时间: 20161017

5. 分包后, 资源加载问题 [ 91%]

...) //class loading100 extends laya.display.Sprite var loading100=(function(_super){ console.log("kk4") function loading100(){ loading100.__super.call(this); this.load=new loadingUI(); this.addChild(this.load); } console.log("kk5") __class(loading100,'loading100',_super); console.log("kk6") var __prot...

来源: Laya_社区 发布时间: 20170725

6. 引用的类库问题 [ 90%]

引用的类库问题 var ViewStack=(function(_super){ function ViewStack(){ this._items=null; this._selectedIndex=0; ViewStack.__super.call(this); this._setIndexHandler=Handler.create(this,this.setIndex,null,false); } __class(ViewStack,'laya.ui.ViewStack',_super); 1. ViewStack.__super.call(this); ...

来源: Laya_社区 发布时间: 20180313

7. 续飞机大战 [ 87%]

...); var gameInstance = new Game();BackGround.jsvar BackGround = (function (_super) { function BackGround() { BackGround.__super.call(this); //创建背景1 this.bg1 = new Laya.Sprite(); //加载并显示背景图 this.bg1.loadImage("war/background.png"); //把背景1放到容器内 this.addChild(this...

来源: Laya_社区 发布时间: 20170222

8. 对话框点击空白处无法关闭 [ 85%]

....7.15这是我在编辑模式发布的一个对话框var testUI=(function(_super){ function testUI(){ testUI.__super.call(this); } CLASS$(testUI,'ui.testUI',_super); var __proto__=testUI.prototype; __proto__.createChildren=function(){ laya.ui.Component.prototype.createChildren.call(this); this.creat...

来源: Laya_社区 发布时间: 20180325

9. LayaAir引擎1.7 之后as转换js,出现问题 [ 83%]

...问题 as 代码 override public function get visible():Boolean  { return super.visible; } override public function set visible(value:Boolean):void  { super.visible = value; if (value) _mcAni.removeFromParent(); }   1.7之后的转换 __getset(0,__proto,'visible',function(){ return Laya.superGet(...

来源: Laya_社区 发布时间: 20180227

10. 关于3d项目中component的问题 [ 83%]

...ertTranslate = new Laya.Vector3(0, 0, 0); function CmpScript() { CmpScript.super(this); this.x = 0; } Laya.class(CmpScript, "CmpScript", Laya.Script) CmpScript.prototype._initialize = function (owner) { var _this = this; CmpScript.__super.prototype._initialize.call(this, owner); } CmpScript.prototyp...

来源: Laya_社区 发布时间: 20161126