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

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

41. LayaAir 2.0.1 切换场景报异常 Cannot read property ‘_physicsUpdateList’ [ 64%]

...erObject);         this._colliderShape.destroy();         _super.prototype._onDestroy.call(this);         this._nativeColliderObject=null;         this._colliderShape=null;         this._simulation=null;         (this.owner).transform.off(/*laya.events...

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

42. Shake.instance.start(5, 500);这里面的5和500什么意思? [ 63%]

...名字带$是什么意思? Laya.class是什么意思 layabox js中 的__super,call()是什么意思 这个写法是什么意思,能否解释一下,谢谢 camera的orthographicVerticalSize属性是什么意思? 文档上写的太简洁了! 控制台显示node --debug-brk=27489 --nolazy Debu...

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

43. loadLib("libs/laya.device.js"); native上会随机宕 [ 63%]

...detroyChildren===void 0)&& (detroyChildren=true);         _super.prototype.destroy.call(this,detroyChildren);         // native会崩溃         // this.videoElement.removeEventListener("abort",Video.onAbort);         // this.videoElement.removeEventListener("...

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

44. bug:laya.Scene.destroy [ 63%]

... (destroyChild===void 0)&& (destroyChild=true); this._idMap=null; _super.prototype.destroy.call(this,destroyChild); var list=laya.display.Scene.unDestroyedScenes; for (var i=0,n=list.length;i < n;i++){ if (list[i]===this){ list.splice(i,1); return; } } }这里改动了同一个数组,...

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

45. 微信小游戏渲染开放域卡顿处理 [ 63%]

...前修改有效,兼容ui         constructor() {             super();             this.once(Laya.Event.DISPLAY, this, this.onCreate);             this.once(Laya.Event.UNDISPLAY, this, this.onDestroy);         }         /**          * 加入场景          */...

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

46. 导出到轻游戏平台不成功 [ 63%]

...[TypeError: undefined is not an object(evaluating 'BKCanvasRenderContext.__super.call')];line = 61647,column= 42, 2018-12-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 183*****470 赞同来自: 是不是要将...

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

47. 如何调用父类get、set方法? [ 63%]

...的链接 提交 4 个回复 ymsdandan 赞同来自: 你试下LoginView.__super.call(this)   ,   注意,是2个下划线 2017-11-08 0 3 分享 微博 QZONE 微信 caochangli 赞同来自: 官方没人回复下吗? 2017-11-08 0 0 分享 微博 QZONE 微信 ymsdandan 赞同来自: 你把这个...

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

48. TestArea为什么没有读取txt里的文本内容? [ 62%]

...同来自: 实验了下,将TextPageUI.surper(this);修改成TextPageUI.__super.call(this);就可以了。 2018-12-25 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 鱿鱼小丝 相关问题 文本如何自动换行 关于文本遮挡 ...

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

49. 【简单跑酷--JS版】---Lv.4 添加玩家 [ 62%]

...次数 如果想三连跳 改成 3 即可 this.jumpCountMax = 2; Player.__super.call(this); this.init(); } //玩家动作 //跑 Player.RUN = "player_run"; //飞 Player.FLY = "player_fly"; //暂时没有用到的动作 Player.HERT = "player_hert"; //跳 Player.JUMP = "player_jump"; //状态 Player.DI...

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

50. 我想动态改自定义shader里的值,应该怎么写?? [ 62%]

...erial.js:34 (anonymous) function CustomMaterial() {     CustomMaterial.__super.call(this);     this.setShaderName("CustomShader"); }   Laya.class(CustomMaterial, "CustomMaterial", Laya.BaseMaterial);   CustomMaterial.DIFFUSETEXTURE = 1; CustomMaterial.NORMALTEXTURE = 2; CustomMaterial.ALPHATES...

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