大约有 513 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0056 秒)
...t.ts:275 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 Returns void onDestroy onDestroy(): void Inherited from Component.onDestroy Defined in laya/components/Component.ts:318 手动调用节点销毁时执行 Returns void onDisable onDisable(): v...
来源: Laya3.0_api 发布时间: 20231115
...e():void 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 此方法为虚方法,使用时重写覆盖即可 Node once(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher[override] 增加事件侦听器,以使侦听器...
来源: Laya2.0_api 发布时间: 20190513
...t.ts:275 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 Returns void onDestroy onDestroy(): void Inherited from Component.onDestroy Defined in laya/components/Component.ts:318 手动调用节点销毁时执行 Returns void onDisable onDisable(): v...
来源: Laya3.0_api 发布时间: 20231115
...t.ts:275 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 Returns void onDestroy onDestroy(): void Inherited from Component.onDestroy Defined in laya/components/Component.ts:318 手动调用节点销毁时执行 Returns void onDisable onDisable(): v...
来源: Laya3.0_api 发布时间: 20231115
...t.ts:275 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 Returns void onDestroy onDestroy(): void Inherited from Component.onDestroy Defined in laya/components/Component.ts:318 手动调用节点销毁时执行 Returns void onDisable onDisable(): v...
来源: Laya3.0_api 发布时间: 20231115
...t.ts:275 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 Returns void onDestroy onDestroy(): void Inherited from Component.onDestroy Defined in laya/components/Component.ts:318 手动调用节点销毁时执行 Returns void onDisable onDisable(): v...
来源: Laya3.0_api 发布时间: 20231115
...3-4所示。 (图3-4) 至此, 自定义引擎的基础流程已介绍完毕。 Copyright ©Layabox 2025 all right reserved,powered by LayaAir Engine更新时间: 2025-10-10 16:27:55 img{cursor:pointer}
来源: Laya3.0_文档 发布时间: 20251010
...t.ts:275 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 Returns void onDestroy onDestroy(): void Inherited from Component.onDestroy Defined in laya/components/Component.ts:318 手动调用节点销毁时执行 Returns void onDisable onDisable(): v...
来源: Laya3.0_api 发布时间: 20231115
...t.ts:275 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 Returns void onDestroy onDestroy(): void Inherited from Component.onDestroy Defined in laya/components/Component.ts:318 手动调用节点销毁时执行 Returns void onDisable onDisable(): v...
来源: Laya3.0_api 发布时间: 20231115
...era2D; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.createCamera2D(); } createCamera2D() { //2D相机必须添加在2D区域节点下,因此需要先创建一个2D区域节点 this.area2D = new Laya.Area2D(); //设置2...
来源: Laya3.0_文档 发布时间: 20251010