大约有 231 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0044 秒)
...对象 Laya.Pool.recover("mybg",BackGround); bg1.removeSelf(); Laya.stage.removeChild(bg1); console.log("bg1->",bg1); //再次从Pool里获取对象的时候,就报错了 var bg2:BackGround= Laya.Pool.getItemByClass("mybg",BackGround); Laya.stage.addChild(bg2); console.log("bg2->",bg2);结...
来源: Laya_社区 发布时间: 20180823
...oy是删除整个节点并清楚资源,为什么要用这个接口? 用removeChild或removeSelf这些,只从场景树下删除节点不好吗? 如果使用了预加载,为什么还需要监听这些事件?有什么特殊需求吗? 2017-06-19 0 0 分享 微博 QZONE 微信 为什么被折...
来源: Laya_社区 发布时间: 20170619
...fAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeInputChild removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new ReflectionProbe(): ReflectionPro...
来源: Laya3.0_api 发布时间: 20231102
...fAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new LightSprite(): LightSprite Overrides Sprite3D.con...
来源: Laya3.0_api 发布时间: 20231115
...fAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new PointLight(): PointLight Overrides LightSprite.co...
来源: Laya3.0_api 发布时间: 20231115
...fAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new RenderableSprite3D(name: string): RenderableSprit...
来源: Laya3.0_api 发布时间: 20231115
...AfterDeserialize onAwake onDestroy onDisable onEnable once removeAllLayers removeChild removeChildAt removeChildByName removeChildren removeLayer removeSelf render replaceChild resetProjectionMatrix runCallLater setChildIndex timerLoop timerOnce __init__ instantiate load Constructors constructor new...
来源: Laya3.0_api 发布时间: 20231115
...fAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new SpotLight(): SpotLight Overrides LightSprite.cons...
来源: Laya3.0_api 发布时间: 20231115
...fAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeInputChild removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce createFromMesh createFromMeshAndHeightMap instantiate load Constructors constr...
来源: Laya3.0_api 发布时间: 20231102
...fAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new DirectionLight(): DirectionLight Overrides LightS...
来源: Laya3.0_api 发布时间: 20231115