大约有 435 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0061 秒)
...EFFECT_PATH_3D+url; var itemComplete:Sprite3D = Laya.loader.getRes(_path); if(itemComplete == null || itemComplete.loaded == false){ var groupName:String = null; if(isGroup == true){ ...
来源: Laya_社区 发布时间: 20180601
...内容相关的链接 提交 3 个回复 Laya_XS 赞同来自: 你用Laya.loader.load一次加载很多图片,也是在图片加载完毕才返回完成事件的,但是有一种情况也会返回完成,就是你资源加载失败也会忽略,因为我们也不会因为你在队列里存在...
来源: Laya_社区 发布时间: 20170220
...ont1Req = new Promise((resolve => { Laya.loader.load("res/fonts/OPPOSANS-R.TTF", Laya.Handler.create(this, (success: boolean) => { if (!success) { console.error("OPPOSANS-R ttf 字...
来源: Laya_社区 发布时间: 20201104
...Laya.Stage.ALIGN_MIDDLE; Laya.stage.alignV = Laya.Stage.ALIGN_CENTER; Laya.loader.load([{ url: "res/atlas/comp.json", type: Loader.ATLAS }], Handler.create(this, this.onLoaded)); function onLoaded(): void { Laya.loader.load("res/comp/dian.part", Handler.create(this, this.onPartLoaded)); } fun...
来源: Laya_社区 发布时间: 20170803
...ghtDemo2.7.1\fightDemo2.7.1> layaair2-cmd compile internal/mod ules/cjs/loader.js:638 throw err; ^ Error: Cannot find module 'C:\Users\Nick'z\AppData\Roaming\npm\node_modules\layaair2-cmd\node_modules\gulp\bin\gulp.js' at Function.Module._resolveFilename (internal/modules/cjs/lo...
来源: Laya_社区 发布时间: 20201110
...ite3D = Laya.Sprite3D.load("res/partical1/sceneFXMaker.lh"); 报错 Error: LoaderManager:unknown file(res/partical1/Assets/IGSoft_Tools/FXMaker/ToolResource/Texture/MapGrid.psd) extension with: psd. at LoaderManager.__proto._create (file:///C:/Users/borui/Desktop/Cube3D/bin/libs/laya.core.js:13120:1...
来源: Laya_社区 发布时间: 20180328
... ]; this.isFirst = true; console.log('Gzdaze='); console.log(Gzdaze); Laya.loader.load(Gzdaze.dialogList, Handler.create(this, this.startLoaded)); 代码是这样的 报错 Access to Image at 'http://caifu-1251177394.file.myqcloud.com/beta/book/bookLaya/img/progressBar$bar.png' from origin 'http://b...
来源: Laya_社区 发布时间: 20180208
...的,所以不能在下一行代码立刻获取数据,推荐使用Laya.loader.create yinglei999 • 2017-11-17 19:10 1.数据都为零,需要获取的数据需要在资源加载的回调中进行 我不太明白,在Laya.MeshSprite3D.load 这个函数中只有一个参数是具体的地址 而...
来源: Laya_社区 发布时间: 20171117
...th (AA.max.js:674) at ResInfo.__proto.event (AA.max.js:453) at LoaderManager.__proto._endLoad (AA.max.js:9492) at Loader.onLoaded (AA.max.js:9469) at EventHandler.__proto.runWith (AA.max.js:674) at Loader.__proto.event (AA.max.js:453) 附件 : --> testA_B.zip 2017-07-25...
来源: Laya_社区 发布时间: 20170725
...sCfgList 是一组资源类似 { url: CONFIG_MONSTER_LEV, type: Laya.Loader.JSON }, { url: CONFIG_TERRAIN, type: Laya.Loader.JSON }, { url: CONFIG_FORMATION_TEMPLATE, type: Laya.Loader.JSON }, { url: CONFIG_MOVE_PATH, type: Laya.Loader.JSON }, { url: CONFIG_LEVEL, type: Laya.Loader.JSO...
来源: Laya_社区 发布时间: 20170808