大约有 446 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0051 秒)
...的加载进度呢 我在IDE中创建了整个游戏界面,然后通过loader去加载界面的配置文件:Laya.loader.load(['res/atlas/game.json'],Laya.Handler.create(this,Slot.onSourcesLoaded), Laya.Handler.create(this,Slot.onSourcesLoading,null,false),Laya.Loader.ATLAS);这样写似乎监听...
来源: Laya_社区 发布时间: 20170225
有没有Loader预加载 相关的注意事项或者文档 在手机上问题有点多 在电脑上Loader预加载方法都很正常 但是一旦打包成APK安装到手机上 有时会发生异常 Laya.loader.load(skins, Laya.Handler.create(this, fGameLoad), Laya.Handler.create(this, onLoading, ...
来源: Laya_社区 发布时间: 20161228
... stream.close(); 保存为byarr.byte文件后用layaAir加载解析: var loader:Loader = new Loader(); loader.on(Event.COMPLETE, this, loadEnd); loader.load("atlas/byarr.byte",Loader.BUFFER); private function loadEnd(data:*):void { if (data is ArrayBuffer) { var byts:Byte = new Byte(data); byts.po...
来源: Laya_社区 发布时间: 20170308
Laya.loader.clearRes 能不能直接清除场景依赖的资源 Laya.Scene.load 既然可以直接加载场景所依赖的资源, Laya.loader.clearRes 能不能直接清除场景依赖的资源呢?? 2019-06-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请...
来源: Laya_社区 发布时间: 20190617
... TypeError: Cannot read property 'btCollisionObject' of undefined 请问下loader如何强制加载一个文件,避免浏览器的缓存 微信小游戏与加载图片时不会触发erroe事件 unity到导出场景加载时抛异常,不知所措 2.7.1 加载的ttf不生效 小游戏项目 加载...
来源: Laya_社区 发布时间: 20180322
Laya.loader.getRes的声音资源如何用Laya.SoundManager播放? var soundData = null; Laya.loader.load("res/audio/TheSacredWar.ogg", Laya.Handler.create(Laya.stage, function () { console.log('音乐加载完成>>>-----------------|>'); soundData = Laya.loader.getRes("res/audio/some...
来源: Laya_社区 发布时间: 20171016
UNITY3D导出模型加载错误 laya.core.js:12371 Uncaught Error: LoaderManager:unknown file(http://127.0.0.1/layaair/myLaya3D1/bin/null path) extension with: 1. at LoaderManager.__proto._create (laya.core.js:12371) at LoaderManager.__proto.create (laya.core.js:12339) at Loader.Laya3D._onHierarchy...
来源: Laya_社区 发布时间: 20170927
...esInfo.__proto.event (http://127.0.0.1:65353/game/code.js:483:28) at LoaderManager.__proto._endLoad (http://127.0.0.1:65353/game/code.js:13152:11) at Loader.onLoaded (http://127.0.0.1:65353/game/code.js:13128:10) at EventHandler.__proto.runWith (http://127.0.0.1:65353/game/code.js:...
来源: Laya_社区 发布时间: 20180228
...是 var resArray:Array<any>=[ {url:"h5/UI.atlas",type:Laya.Loader.ATLAS}, {url:"h5/UI/so_main_base.png",type:Laya.Loader.IMAGE}, ]; Laya.loader.load(resArray,Laya.Handler.create(this,initUI)); 单图就是so_main_base.png,死活就加载不出来, 报错 [warn]Retry to ...
来源: Laya_社区 发布时间: 20180626
..._female_01-obj001.lm", "model/player/003/char_car_01-obj001.lm" 通过Laya.loader.load加载完后不能正常使用,没有Mesh的类型可以指定。 是要用Laya.loader.create才行么? Laya.loader.create(urls, Handler.create(this, this.onAssetLoaded), Handler.create(this, this.onLoading, nu...
来源: Laya_社区 发布时间: 20161217