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

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

1. _super本质是实现什么的?为什么要用super [ 100%]

_super本质是实现什么的?为什么要用super laya代码里的super 2016-08-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: super是执行父类构造函数,在layaAir下,...

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

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

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

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

3. EffectAnimation __super undefined [ 96%]

EffectAnimation __super undefined   调试运行报错如上图,之前一直正常,不知什么操作造成的这个问题。 版本1.7.12 附件 : --> 2017-12-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回...

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

4. ts编译为js后 [ 95%]

ts编译为js后 var AudioCommand = (function(_super) { function AudioCommand() { AudioCommand.__super.call(this); } __class(AudioCommand, 'model.resource.audio.controller.AudioCommand', _super); 1.AudioCommand.__super.call(this); 2.__class(AudioCommand, 'model.resource.audio.controller.AudioComman...

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

5. 引用的类库问题 [ 95%]

引用的类库问题 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

6. 跟着老师打地鼠游戏写的代码,JS为什么会出错 [ 95%]

...师打地鼠游戏写的代码,JS为什么会出错 var Game=(function(_super){ function Game(){ Game.super(this); this.mole=new Mole() //这里会报错 } Laya.class(Game,"Game",_super); return Game; })(ui.GameUI) var GameUI=(function(_super){ function GameUI(){ this.btn_start=null; this.audio=nu...

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

7. 分包后, 资源加载问题 [ 95%]

...) //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

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

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

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

9. 1.5.0 LayaAir IDE发布UI资源缺失! [ 94%]

...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

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

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

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