大约有 959 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0049 秒)
Laya_社区(662) Laya2.0_文档(158) Laya_示例(48) Laya2.0_示例(39) Laya3.0_文档(27) Laya3.0_api(20) laya_api(3) Laya2.0_api(2)
...ata.txt", type: Laya.Loader.BUFFER }]; Laya.loader.load(resources, Handler.create(this, this.onComplete), Handler.create(this, this.onProcess), null, 1, false); } onComplete(e,a,b) { console.log('资源加载完成!!',e,a,b); var cfg = Laya.Loader.getRes("config/data.txt"); console.log('cfg===',...
来源: Laya_社区 发布时间: 20180816
...载场景,注意:不缓存 然而它的实现调用的是 Laya.loader.create(url, null, null, Scene); 但是create的第7个参数,cache默认是true。 也就是说Laya.Scene.load的注释不太对。 不知道是不是这个原因,请官方答疑。 2018-09-07 0 0 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20180907
...a.Loader.PLFB }] Laya.loader.load(loaditem, Laya.Handler.create(this, function (res) { let item = 'res/layabox.png' let getres = Laya.loader.getRes(item) console.log('getres',getres) //这个返回und...
来源: Laya_社区 发布时间: 20210604
...res/atlas/build.atlas",type:Loader.ATLAS}) Laya.loader.load(assets,Handler.create(this,null),Handler.create(this,this.proces,null,false)); 第一次成功 当我第二次调用失败 资源not found 资源是不同的 2018-11-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...
来源: Laya_社区 发布时间: 20181106
...yeimf.txt",type:Laya.Loader.TEXT} ] Laya.loader.load(resArray,Laya.Handler.create(this,this.Onloaded),null,Laya.Loader.TEXT,0,true,null,true);*/ let event1=Laya.loader.load("eyeimf.txt", Laya.Handler.create(this, this.Onloaded), null, Laya.Loader.TEXT,0,true,null,true); //console.log(Laya.Loader.loa...
来源: Laya_社区 发布时间: 20171228
...也遇到了这个问题 Texture2D.load("res/env/mountain1_3.png", Handler.create(null, function(tex:Texture2D):void { menu_sprite_jian.graphics.drawTexture(tex,0,0); }));这样然后无法drawtexture报同样的错误 但是这个type要如何加上去...
来源: Laya_社区 发布时间: 20190508
...//激活资源版本控制 ResourceVersion.enable("version.json", Handler.create(this, beginLoad), ResourceVersion.FILENAME_VERSION); } private function beginLoad():void { //加载引擎需要的资源 /...
来源: Laya_社区 发布时间: 20180828
...type var AwesomeMessage = root.lookup("awesomepackage.AwesomeMessage"); // Create a new message var message = AwesomeMessage.create( { awesomeField: "AwesomeString" }); // Verify the message if necessary (i.e. when possibly incomplete or invalid) var errMsg = AwesomeMessage.verify(message); if (errM...
来源: Laya_示例 发布时间: 20251130
...type var AwesomeMessage = root.lookup("awesomepackage.AwesomeMessage"); // Create a new message var message = AwesomeMessage.create( { awesomeField: "AwesomeString" }); // Verify the message if necessary (i.e. when possibly incomplete or invalid) var errMsg = AwesomeMessage.verify(message); if (errM...
来源: Laya2.0_示例 发布时间: 20251130
你们这个API描述错乱了(Laya.loader.create())!!! 你们这个API描述错乱了(Laya.loader.create()):https://layaair.ldc.layabox.com/api/?category=Core&class=laya.net.LoaderManager#create() 附件 : --> 2017-08-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...
来源: Laya_社区 发布时间: 20170817