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

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

21. laya.display.Node_API3.0 [ 57%]

...estroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce Constructors constructor new Node(): Node Defined in laya/display/Node.ts:94 Returns Node Properties Optional _extra _extra: INodeExtra Def...

来源: Laya3.0_api 发布时间: 20231115

22. 使用对象池重复使用skeleton报错,请问有解决方案吗?谢谢 [ 56%]

...Armature.stop();         mArmature.removeSelf();         mArmature.removeChildren();         mArmature.destroy(true);           Laya.Pool.recover('Skeleton', mArmature); }   function play() { mCurrIndex++; if (mCurrIndex >= mArmature.getAnimNum()) { mCurrIndex = 0; } mArmature.p...

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

23. laya.d3.core.reflectionprobe.ReflectionProbe_API3.0 [ 55%]

...estroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeInputChild removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new ReflectionProbe(): ReflectionProbe Overrides Sprite3D.constructor Defined in...

来源: Laya3.0_api 发布时间: 20231102

24. 删除场景中的模型,scene.removeChildAt()有问题(已解决) [ 55%]

...是我的问题,没注意到scene._childs会改变,同时发现scene.removeChildren()的删除区间是前闭后开的,这个在API里没提到 2017-12-11 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 xig...

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

25. 分享:IDE使用SWF动画的销毁与反复创建 [ 54%]

...       testView.mc.destroy();//销毁MC             testView.removeChildren();             testView.destroy();             testView.removeSelf();             //destroy的时候movieclip把小图都清掉了,但是movieclip不知道你是用图集加载的...

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

26. 就是怎样将这些JS文件放在同一个JS文件里的容器里,用于场景的切换 [ 54%]

...时器(timer.clear)以及自身(removeSlef)和自身的子对象(removeChildren),包括占用的显存(destory) 2017-04-24 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 相关问题 2.0一不小心删了bin目录下的某个场景js...

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

27. laya.d3.core.light.LightSprite_API3.0 [ 54%]

...estroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new LightSprite(): LightSprite Overrides Sprite3D.constructor Defined in laya/d3/core/light/Light...

来源: Laya3.0_api 发布时间: 20231115

28. 我用的HBox做的进度条为啥总是一闪一闪的。 [ 54%]

...){ this.hbox = new Laya.HBox(); this.addChild(this.hbox); }else{ this.hbox.removeChildren(); } var cout:string = value.toString(); for(var i=0;i<cout.length;i++){ var clip: Laya.Clip = new Laya.Clip("loading/num0-9.png", 10, 1); clip.index = parseInt(cout.charAt(i)); this.hbox.addChild(clip); } v...

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

29. 请问如何释放atlas和他的png资源 [ 54%]

...te function ddd():void { trace("aaa1",Laya.loader.getRes(url)); Laya.stage.removeChildren(); Laya.loader.clearRes(url); trace("aaa2",Laya.loader.getRes(url)); }   2017-12-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 ...

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

30. laya.d3.core.light.PointLight_API3.0 [ 53%]

...estroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new PointLight(): PointLight Overrides LightSprite.constructor Defined in laya/d3/core/light/Poin...

来源: Laya3.0_api 发布时间: 20231115