大约有 744 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0053 秒)
Laya_社区(536) Laya2.0_文档(76) Laya_示例(48) Laya2.0_示例(39) Laya3.0_文档(24) Laya3.0_api(19) laya_api(1) Laya2.0_api(1)
...的插件的参数,你看下有没有错误 读取代码: Laya.loader.create("res/1.lh",Handler.create(this,onModelOK),null,Sprite3D); private function onModelOK():void { //添加3D场景 var scene:Scene = new Scene(); ...
来源: Laya_社区 发布时间: 20180116
...个是我在unity导出一个文件,然后layabox中加载场景。 Laya.loader.create(this.strScene, Laya.Handler.create(this, this.onLoadScene)); private onLoadScene() { var scene: Laya.Scene = Laya.Scene.load(this.strScene); if (scene == null) { return; } this.mScene = scene; 大致的流程...
来源: Laya_社区 发布时间: 20180418
...public/test/img/food/f8.png", "/public/test/img/food/f9.png", ]; Laya.loader.load(urls, Handler.create(this, onAssetLoaded), Handler.create(this, onLoading, null, false), Loader.TEXT); 这个样能加载。 但是 var roleAni = new Laya.Animation(); roleAni.loadImages(); roleAni.play();...
来源: Laya_社区 发布时间: 20170718
...esInfo.__proto.event (http://127.0.0.1:59022/game/code.js:483:28) at LoaderManager.__proto._endLoad (http://127.0.0.1:59022/game/code.js:13152:11) at Loader.onLoaded (http://127.0.0.1:59022/game/code.js:13128:10) at EventHandler.__proto.runWith (http://127.0.0.1:59022/game/code.js:...
来源: Laya_社区 发布时间: 20180317
...形式加载。或者传入地址数组。即可加载多个模型 Laya.loader.create([ {url:"资源目录/模型名字.lm"}, {url:"同上.lm"}, {url:"同上"}, {url:"同上"} ],Handler.create(this,onLoaded)); 2018-05-28 0 2 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 白夜行 Animat...
来源: Laya_社区 发布时间: 20180528
...ayaAir引擎 Cannot read property 'load' of null 查了断点,看到Laya.loader是null,为什么会出现为null的情况? 代码如下: class main{ constructor(){ MapManager.getInstance().LoadMapResource(); } } new main(); class MapManager { private static s_instance = null; public static g...
来源: Laya_社区 发布时间: 20171124
... var arr:Array = new Array(); Laya.loader.load("test.json", Handler.create(this, onLoaded), null, Loader.ATLAS); //var json:JSON = Loader.getRes("test.json"); //trace(json); } ...
来源: Laya_社区 发布时间: 20170413
... Laya3D._onTextureCubeLtcLoaded Laya3D._onTextureCubeLtcLoaded=function(loader,ltcData){ if (loader._class.destroyed){ loader.endLoad(); }else { var ltcBasePath=URL.getPath(loader.url); ...
来源: Laya_社区 发布时间: 20180508
...itmap || this._bitmap.destroyed)&& url){ Laya.loader.load(url,Handler.create(this,function(bitmap){ _$this._bitmap=bitmap; }),null,"htmlimage",1,false,null,true); } } Laya.loader.load的cache参数...
来源: Laya_社区 发布时间: 20190311
...aya.display.Stage; import laya.events.Event; import laya.net.Loader; import laya.ui.Button; import laya.utils.Handler; import laya.utils.Stat; import ui.TaskUI; import view.TestView; public class LayaUISample { ...
来源: Laya_社区 发布时间: 20180425