大约有 436 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0052 秒)
Laya3.0_api(155) Laya2.0_api(89) Laya_社区(76) Laya3.0_文档(62) Laya2.0_文档(31) laya_api(22) Laya2.0_示例(1)
...ipt { @property({ type: Laya.Radio }) public radio: Laya.Radio; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.radio.skin = "atlas/comp/radio.png"; //皮肤 this.radio.stateNum = 3; //皮肤状态 this.radio.label = "确...
来源: Laya3.0_文档 发布时间: 20251010
... Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node color : Vector3 灯光颜色。 LightSprite destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使...
来源: Laya2.0_api 发布时间: 20190513
...ted from Node.active Defined in laya/display/Node.ts:655 获取自身是否激活。 Returns boolean 自身是否激活。 Inherited from Node.active Defined in laya/display/Node.ts:663 设置是否激活。 Parameters value: boolean 是否激活。 Returns void 自身是否激活。 activeInHierarc...
来源: Laya3.0_api 发布时间: 20231115
...ted from Node.active Defined in laya/display/Node.ts:655 获取自身是否激活。 Returns boolean 自身是否激活。 Inherited from Node.active Defined in laya/display/Node.ts:663 设置是否激活。 Parameters value: boolean 是否激活。 Returns void 自身是否激活。 activeInHierarc...
来源: Laya3.0_api 发布时间: 20231115
... onAdded 被添加到节点后调用,和Awake不同的是即使节点未激活onAdded也会调用 onReset 重置组件参数到默认值,如果实现了这个函数,则组件会被重置并且自动回收到对象池,方便下次复用。如果没有重置,则不进行回收复用 onAwake ...
来源: Laya3.0_文档 发布时间: 20251010
... Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node color : Vector3 灯光颜色。 LightSprite destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使...
来源: Laya2.0_api 发布时间: 20190513
...ted from Node.active Defined in laya/display/Node.ts:655 获取自身是否激活。 Returns boolean 自身是否激活。 Inherited from Node.active Defined in laya/display/Node.ts:663 设置是否激活。 Parameters value: boolean 是否激活。 Returns void 自身是否激活。 activeInHierarc...
来源: Laya3.0_api 发布时间: 20231115
...ted from Node.active Defined in laya/display/Node.ts:655 获取自身是否激活。 Returns boolean 自身是否激活。 Inherited from Node.active Defined in laya/display/Node.ts:663 设置是否激活。 Parameters value: boolean 是否激活。 Returns void 自身是否激活。 activeInHierarc...
来源: Laya3.0_api 发布时间: 20231115
...ted from Node.active Defined in laya/display/Node.ts:655 获取自身是否激活。 Returns boolean 自身是否激活。 Inherited from Node.active Defined in laya/display/Node.ts:663 设置是否激活。 Parameters value: boolean 是否激活。 Returns void 自身是否激活。 activeInHierarc...
来源: Laya3.0_api 发布时间: 20231115
...nt.ts:262 被添加到节点后调用,和Awake不同的是即使节点未激活onAdded也会调用。 Returns void onAwake onAwake(): void Defined in laya/components/Component.ts:275 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 Returns void on...
来源: Laya3.0_api 发布时间: 20231115