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

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

521. 微信小游戏报错 the .lh file root type must be Scene [ 44%]

...ring = "res/layaScene/xiangsuqiche.ls"; public LoadScene3D(): Laya.Scene { console.log("screen#DPath = " + this.screen3DPath); let scene: Laya.Scene = Laya.Scene.load(this.screen3DPath); Laya.stage.addChildAt(scene, 0); this.InitCamera(scene); return scene; } 微信小游戏报错 Scene: the .lh fil...

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

522. Resources already exist,is repeated loading 加载特效报重复加载 [ 43%]

...is, this.onComplete));         //this.onComplete()         console.log("11111111111")         Laya.loader.load("res/threeDimen/particle/2d.lh", Handler.create(this, this.onAssetsLoaded), null, Loader.JSON);     }      public onAssetsLoaded(settings: ParticleSetting): ...

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

523. rigidBody.applyForce 对刚体应用力,物体没有移动 [ 42%]

...w Laya.Vector3(0,0,-1);         Laya.timer.loop(2000, this, function(){console.log(rigidBody.linearVelocity.z)});     } } //激活启动类 new PhysicsWorldBaseCollider(); 2019-10-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...

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

524. 自己写了个label继承官方的label,出现了问题,求指导~ [ 41%]

...String(rightMargin); _indent = String(indent); _leading = String(leading); console.log("font==="+_font, "size==="+_fontSize, "color==="+_color, "bold==="+_bold, "italic==="+_italic, "underline==="+_underline,"leftMargin==="+_leftMargin, "rightMargin==="+_rightMargin); } } } 附件 : --> DemoLabel.zi...

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

525. ios14新系统问题 [ 41%]

...的webgl项目,其他引擎的项目 把LayaSample.max.js简化为一个console.log('xxx')能跑么 另外你怎么升级的14.2 jason: • 2020-09-24 17:28 @郭兆奎:ios14.2还是beta版本,没有正式推送,还挺多BUG的,腾讯视频什么的都打不开,某些问题是可以忽略...

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

526. 两个物体 ,如果在update里修改其中一个物体的rotationEuler,会触发另一个物体的onTriggerEnter回调 [ 40%]

...ion = v3Pos; }) }, 2000); } onTriggerEnter(other: Laya.PhysicsComponent) { console.error("onTriggerEnter " + other.owner.name); } }   已上传demo和相关资源.麻烦大佬们帮忙看看,谢谢 附件 : --> Test3DBug.zip 2020-07-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...

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

527. 关于UI与3D场景的问题 [ 39%]

...同来自: button.on(Laya.Event.CLICK, this, function(event:Laya.Event){ console.log("点击到了UI"); event.stopPropagation(); }); 完整代码 2018-05-30 0 17 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 你这个问题描述的很明确,很好,这个按钮正常来讲,会挡住下...

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

528. 微信小游戏默认项目代码添加unity导出.lh文件,微信开发工具提示错误 [ 39%]

...nction.Loader.checkNext (http://127.0.0.1:51205/game/code.js:12769:40)[/b] console.error errorReport @ WAGame.js:3 thirdErrorReport @ WAGame.js:3 (anonymous) @ WAGame.js:3 c @ WAGame.js:4 (anonymous) @ WAGame.js:4 function.setTimeout @ gamePage.html:1 (anonymous) @ WAGame.js:3 (anonymous) @ WAGame.j...

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

529. conch.config.getUsedMem() 安卓包中 定时运行报错 [ 37%]

...dMem() 安卓包中 定时运行报错 Laya工程1.7.10beta,setInterval("console.log(conch.config.getUsedMem())", 1) 安卓包中报错 2018-03-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 qian 赞同来自...

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

530. TiledMap加载报错 relativePath为空 [ 36%]

...e(0,0,800, 800),Handler.create(this,onMapLoaded)); function onMapLoaded(){ console.log("地图加载完成"); }scence1.json { "height":25, "infinite":false, "layers":[ { "data":[7, 7, 7, 7, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 7, 7, 1, 1, 7, 7, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,...

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