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

大约有 5 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0021 秒)

1. 针对2.0.0 beta5 setLoadingPage 做增强 [ 100%]

...法 */ export default class LoadPage { constructor(url = null) { this._loadScene = null if (url) this.preload(url) } /** * 预加载loading页面 * @param {String} url loading页面url */ async preload(url = 'loadingpage.scene') { if (this._loadScene && url === this._loadScene.url) return le...

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

2. Cannot read property 'load' of null [ 85%]

...知道大天使之剑H5的选服界面和load界面的实现原理么? scene场景open或者load失败以后没有回调通知,代码中无法知道是成功还是失败了, 如果是线上玩家那不是直接就卡在那里不动了 iOS 接入微信登录,配置了"Other Linker Flags"中...

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

3. 如何使用javascript版本的加载模式 [ 83%]

...n, type: Laya.Loader.JSON } ], Handler.create(this, function () { this.gameScenes = new ui.layer.gameScenesUI(); this.addChildren(this.gameScenes); })); 但页面上却没有任何内容显示出来!求教!!我看了论坛里面的教程:https://ask.layabox.com/question/982 发现它是写...

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

4. 物体穿过平面后3d场景消失变黑屏 [ 74%]

...t TypeError: Cannot read property 'btCollisionObject' of undefined laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 2.2.0beta4 发布微信小游戏,安卓设备加载场景黑屏 我这样载入场景问题出现在哪呢?? laya2.2 导出...

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

5. 通过laya设计模式制作的,要怎么给按钮绑定事件呢? [ 71%]

...怎么去继承 1591859396用户 • 2020-06-11 15:11 @Laya_Aaron:var MainSceneUI=(function(_super){ function MainSceneUI(){ this.Btn_Task=null; MainSceneUI.__super.call(this); } CLASS$(MainSceneUI,'ui.MainSceneUI',_super); var __proto__=MainSceneUI.prototype; __proto__.createChildren=function(){ _s...

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