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

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

161. 关于Dialog的closeHandler问题 [ 50%]

...的话 无法触发。 查看源码发现 true的话 会直接调用 removeChildren()方法 而closeHandler是在_doClose中调用, 请问我是否可以修改源码,完成我想要的效果,即在open方法中添加调用closeHandler再removeChildren,或者说还有其他的什么可以监...

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

162. 3D粒子 · LayaAir3.3 · 引擎文档 · LAYABOX [ 50%]

...系统,用于后面整体播放 for (var i = 0, len = this._particle.numChildren; i < len; i++) { var child:Node = this._particle.getChildAt(i); if (child instanceof Laya.ShuriKenParticle3D) { this._shuriKenParticle3D.push(child); this._shurikenParticleSystem.push(child.particleSystem); } } thi...

来源: Laya3.0_文档 发布时间: 20251010

163. 3D粒子编辑模块 · LayaAir3文档 · LAYABOX [ 50%]

...系统,用于后面整体播放 for (var i = 0, len = this._particle.numChildren; i < len; i++) { var child:Node = this._particle.getChildAt(i); if (child instanceof Laya.ShuriKenParticle3D) { this._shuriKenParticle3D.push(child); this._shurikenParticleSystem.push(child.particleSystem); } } thi...

来源: Laya3.0_文档 发布时间: 20250104

164. 使用mask后,只要调用 Laya.Resource.destroyUnusedResources() 就会引起报错 [ 50%]

...awRect(0, 0, 200, 200, "#0xFFFF00"); bgSprite.pos(300, 300); Laya.stage.addChild(bgSprite); let mask = new Laya.Sprite(); bgSprite.mask = mask; mask.graphics.drawCircle(0, 0, 100, "0x0000FF"); window.onblur = function() { console.log("onblur....?"); Laya.timer.once(2000, null, function() { Laya.Reso...

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

165. 资源导出出错,怎么解 [ 49%]

...entsData (UnityEngine.GameObject gameObject, .JSONObject node, .JSONObject child, Vector3 position, Quaternion rotation, Vector3 scale, System.String& goPath) LayaExport.DataManager.getGameObjectData (UnityEngine.GameObject gameObject, System.String gameObjectPath, .JSONObject parentsChildNodes,...

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

166. 自定义shader-地形shader [ 49%]

...reenMode = Laya.Stage.SCREEN_NONE; initShader(); var scene = Laya.stage.addChild(Laya.Scene.load("../../res/threeDimen/scene/terrain/terrain.ls")); var camera = scene.addChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.rotate(new Laya.Vector3(-38, 180, 0), false, false); camera.transform.trans...

来源: Laya_示例 发布时间: 20251130

167. 导出角色报错,求看下什么问题 [ 49%]

...entsData (UnityEngine.GameObject gameObject, .JSONObject node, .JSONObject child, Vector3 position, Quaternion rotation, Vector3 scale, System.String& goPath)”   附件是资源(第一次上传的资源缺shader,已换成默认的。又上传了一次,把无效脚本去掉了)   补...

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

168. unity导出模型报KeyNotFoundException [ 48%]

...entsData (UnityEngine.GameObject gameObject, .JSONObject node, .JSONObject child, Vector3 position, Quaternion rotation, Vector3 scale, System.String& goPath) LayaExport.DataManager.getGameObjectData (UnityEngine.GameObject gameObject, System.String gameObjectPath, .JSONObject parentsChildNodes,...

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

169. [LayaAir3]3d场景中父节点脚本onDisable时删除子节点后子节点脚本onDisable取不到owner.scene [ 48%]

...因为 demo 中 父节点脚本中提前移除了子节点,  注意,child 不用手动移除, 父节点脚本onDisable 后 ,子节点脚本 也会调用 2025-05-15 1 3 分享 微博 QZONE 微信 LayaAir大为 赞同来自: 您好,这个问题我们已经复现,后续会修复一下 2025...

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

170. tiledmap 可以在图块层的指定格子上添加Sprite吗 [ 48%]

...er.loadImage("unit/test.png"); this.tMapPlayer.zOrder = 1000; testLayer.addChild(this.tMapPlayer); }楼上您好,我照着你的代码写的,但是还是看不到我自己的sprite,请问是怎么回事呢? 我可以确定player层是在最上面层的 2017-11-19 0 2 分享 微博 QZONE 微...

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