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

大约有 744 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0053 秒)

341. unity里导出的骨骼动画无法读取 [ 66%]

...的插件的参数,你看下有没有错误   读取代码:    Laya.loader.create("res/1.lh",Handler.create(this,onModelOK),null,Sprite3D); private function onModelOK():void         {              //添加3D场景              var scene:Scene = new Scene();  ...

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

342. ls文件导入错误 [ 66%]

...个是我在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

343. laya图片路径问题 [ 65%]

...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

344. 微信小游戏运行导出项目的时候报错:Scene: the .lh file root type must be Scene [ 65%]

...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

345. 怎么加载多个不同的lm模型? [ 65%]

...形式加载。或者传入地址数组。即可加载多个模型   Laya.loader.create([ {url:"资源目录/模型名字.lm"}, {url:"同上.lm"},  {url:"同上"},  {url:"同上"} ],Handler.create(this,onLoaded)); 2018-05-28 0 2 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 白夜行 Animat...

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

346. Cannot read property 'load' of null [ 65%]

...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

347. 读取json对象 [ 65%]

...           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

348. Unity插件与LAYAAIR加载的天空盒子BUG与修改方法 [ 65%]

...   Laya3D._onTextureCubeLtcLoaded Laya3D._onTextureCubeLtcLoaded=function(loader,ltcData){         if (loader._class.destroyed){             loader.endLoad();             }else {             var ltcBasePath=URL.getPath(loader.url);            ...

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

349. Texture自动恢复还是存在另外的问题 [ 65%]

...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

350. canvas下资源清理的问题 [ 65%]

...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