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

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

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

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

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

482. 请教下微信小游戏的内存和数据缓存? [ 48%]

...ading.json", type: Loader.ATLAS }, ]; Laya.loader.load(resArray, Laya.Handler.create(this, this.onLoaded1)); 我使这种方法加载图集,加载完就800m,所以就一直在找优化方法,在app端没有这么高 zwy363 • 2018-01-22 10:58 那如果不行,只能不要一次加载...

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

483. 在模型有刚体的情况下,怎么才能让模型只围绕一个轴进行旋转 [ 48%]

... Laya.Sprite3D.load("h5/LayaScene_car/Conventional/car.lh",Laya.Handler.create(this,(sp:Laya.Sprite3D)=> { this.car = sp.getChildAt(0).getChildAt(0) as Laya.Sprite3D; this.scene.addChild(this.car); this.rig = (this.car.getComponent(Laya.Rigidbody3D) as Laya.Rigidbody3D) })); 源 • 201...

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

484. 启版本管理后,Laya.loader.load加载在微信web开发者工具触发不了回调 [ 48%]

.../hall/login.atlas", type: Laya.Loader.ATLAS}, ] Laya.loader.load(resArray, Handler.create(null, function(){ console.log("回调")}));   这样Laya.loader.load加载在微信web开发者工具触发不了回调,资源的url都是有资源的, Laya.URL.basePath的路径也是对的   laya sdk...

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

485. meshRender修改材质问题 [ 48%]

...house1 (file:///E:/LayaWorkspace/javaScriptLaya/src/warehouse.js:74:43) at Handler.__proto.run (file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:697:26) at ResInfo.onLoaded (file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:12723:28) at EventHandler.__proto.runWith (file:///...

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

486. TypeError: Cannot read property '_addRenderObject' of undefined [ 48%]

...SceneOver (file:///E:/A_LayaDemo/test3Dscene/bin/js/bundle.js:28:24)   at Handler.runWith (file:///E:/A_LayaDemo/test3Dscene/bin/libs/laya.core.js:848:38) 附件 : --> 2019-11-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...

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

487. 微信关系链:LayaAir引擎针对微信小游戏好友关系链实现方案 [ 48%]

...d { //加载引擎需要的资源 Laya.loader.load("res/atlas/comp.atlas", Handler.create(this, onLoaded)); } private function onLoad2():void { Laya.timer.once(2000, this, onLoaded); } private function onLoaded():void { //实例UI界面 //var testView:TestView = new TestView(); //Laya.stage.addChild...

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

488. Cannot read property 'rayCast' of undefined [ 48%]

...ite3D.load("res/scene/LayaScene_webgl_sky/Conventional/webgl_sky.lh", Laya.Handler.create(this, this.onLoadFinish)); Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.mouseDown); } onLoadFinish(layaMonkey){ this.layaMonkey=this.scene.addChild(layaMonkey); // Laya.timer.frameLoop(1, this, this.onFrameL...

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

489. tween complete 报错 以及如何判断对象正在缓动中 [ 47%]

...把 Laya.Tween.to(letterText, { y : 300 }, 1000, Laya.Ease.bounceIn, Laya.Handler.create(this,this.changeColor,[letterText]), i * 100); 2017-11-22 0 0 分享 微博 QZONE 微信 liner1457387450 赞同来自: 恩恩,你写的这句是基本的法,我想tween API里complete()立即完成...

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

490. Laya.SoundManager.playSound()问题,任务不是当前标签停止播放,当任务回到当前标签页,不能恢复播放 [ 47%]

...dChannel: Laya.SoundChannel = Laya.SoundManager.playSound(url, loops, Laya.Handler.create(this, () => { resolve(soundChannel); }), soundClass, startTime); }); } 我使Promise封装了一下音效播放,正常使await播放没啥的问题,可以做同步异步转换,出问题是的使...

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