大约有 1,267 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0049 秒)
...r hero = sphere.addChild(Laya.Sprite3D.load("./res/Xinzhaoyun/Zhaoyun_skin.lh")); var ani = hero.addComponent(Laya.SkinAnimations); ani.templet = Laya.AnimationTemplet.load("./res/Xinzhaoyun/Zhaoyun_standfight.lsani"); ani.player.play(); var...
来源: Laya_社区 发布时间: 20161205
...源 this.resource = [ "res/maze/img/demo/toolClock/Conventional/glow.lh", "res/maze/img/demo/Conventional/wang06.lh", "res/maze/img/demo/toolClock/Conventional/puzzleA.lh", "res/maze/img/demo/toolClock/Conventional/puzzleB.lh" ]; Laya.loader.create(this.resour...
来源: Laya_社区 发布时间: 20191209
加载.lh文件 运行后黑屏 无法显示 下面代码为所用代码 按理说text文本应该会有啊 直接黑屏 实在不知道是什么问题了 下面的触屏代码为官方案例示例代码 Copy过来的 希望各位给看一下 图片为运行的结果 import GameConfig fro...
来源: Laya_社区 发布时间: 20190531
3D多网格问题 使用.lh文件直接获得整个场景网格后,如何获得其子网格(虽然可以是要用多个lm拼成整个场景,但是如果子网格多的话,有些麻烦) 【已自行解决,使用lh里的name获取】 不过,如果在unity里更改物体name的话,会...
来源: Laya_社区 发布时间: 20170423
微信小游戏,动态加载资源很慢 我把.lh .ls的文件全放在远程服务器上,然后代码里先用 Laya.URL.basePath = "http://cdn.test.com/smallGame/"; var res3D = ["./Prefab/Conventional/NewBuilds.lh", "./LayaScene_111/Conventional/smoke.lh"]; Laya.loader.create(res3D, Laya...
来源: Laya_社区 发布时间: 20190702
微信小游戏只缓存图片和声音 一个3D模型 加载lh 比如里面有大量的lani lm等等文件 那么说用downLoadFile去下载自己管理缓存,可是我怎么弄 自己去解析lh 用downLoadFile加载数据???? 还有就算我用downLoadFile加载了,我下次去加...
来源: Laya_社区 发布时间: 20180409
...is._createSprite3D = 2; Laya.loader.create("res/h5/LayaScene_Effect/Effect.lh",Handler.create(this,this.onEffectOK),null,Laya.Sprite3D); Laya.loader.create("res/h5/LayaScene_aixin/aixin.lh",Handler.create(this,this.onEffectOK),null,Laya.Sprite3D); onEffectOK() : void{ this._createSprite3D -= 1; if(t...
来源: Laya_社区 发布时间: 20180403
微信小游戏运行导出项目的时候报错:Scene: the .lh file root type must be Scene 引擎使用的是1.7.17beta版本,下面是报错堆栈,附件是工程项目以及导出的小游戏项目。 Scene: the .lh file root type must be Scene,please use other function to load this fil...
来源: Laya_社区 发布时间: 20180317
...挂了Animation,有一个动作,导出后要怎么播放? 导出的lh文件似乎已经没有Animation组件了,Assets里生成了一个lsani动作,我想播放这个动作要怎么写? 我想给角色addComponent一个Animation发现不行。如果addComponent一个Animator,然后把...
来源: Laya_社区 发布时间: 20171130
unity 1.7.13.3插件(unity版本5.6.3、2017.1)+1.7.13库,载入lh文件报错 运行LayaAir Run就出错,是不是插件对animator兼容性太差。我把animator组件干掉,就没错了。。。。。 附件 : --> anim.zip 2018-01-15 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20180115