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

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

1. Oppo加载.ls资源错误 [ 100%]

Oppo加载.ls资源错误 Laya.loader.create("res/scenes/LayaScene_game/game.ls", Laya.Handler.create(this, () => { let gameScene = Laya.loader.getRes("res/scenes/LayaScene_game/game.ls") as Laya.Scene; Laya.stage.addChild(gameScene); }, null), Laya.Handler.create(this, (progress) => { consol...

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

2. loader.create加载某个文件,当这个文件不存在的时候,需要怎样监听事件呢? [ 98%]

loader.create加载某个文件,当这个文件不存在的时候,需要怎样监听事件呢? 当加载的文件不存在时会有 Failed to load resource: net::ERR_FILE_NOT_FOUND   这样的LOG,但是代码上要怎样监听这个事件呢?好像没有异常抛出来。 2017-07-05 添...

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

3. Laya构建App后AndroidStudio中用真机调试模式下运行,App打开了,但是不能打开游戏的问题。 [ 81%]

....123 5371-5371/com.ReleaseTest.Four E/LayaConch5: plugin-----------------onCreate() 06-20 19:10:18.220 5371-5371/com.ReleaseTest.Four E/LayaBox: =======================addStaticMethod=========zzf4878be0 06-20 19:10:18.221 5371-5371/com.ReleaseTest.Four E/0: ==============Java流程 InitMainCanvas() ...

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

4. Cannot read property 'load' of null [ 69%]

...", "res/img/map/29.jpg", ]; Laya.loader.load(this.skins,laya.utils.Handler.create(this, this.LoadSuccess,null,false)); } private LoadSuccess() { ViewManager.getInstance().CreateView(contant.loginId,new LoginView()); ViewManager.getInstance().ShowView(contant.loginId); } public SwictMap(index: number...

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