大约有 260 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0030 秒)
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231115
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231102
...添加到舞台后,可在此方法中进行一些初始化的操作,如获取组件引用、设置初始状态等。onDestroy方法在游戏对象被销毁时调用,可在此方法中释放游戏对象所占用的资源,如内存、纹理等,以避免内存泄漏和资源浪费。通过合...
来源: Laya3.0_文档 发布时间: 20251010
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231102
...格过滤器。 Public Properties PropertyDefined By sharedMesh : Mesh 获取共享网格。 MeshFilterPublic Methods MethodDefined By MeshFilter(owner:RenderableSprite3D) 创建一个新的 MeshFilter 实例。 MeshFilter destroy():void MeshFilterProperty DetailsharedMeshpropertysharedM...
来源: Laya2.0_api 发布时间: 20190513
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231102
...ited Public Properties PropertyDefined By destroyed : Boolean[read-only] 获取是否已经销毁 。 Component enabled : Boolean 获取是否启用组件。 Component id : int[read-only] 获取唯一标识ID。 Component isSingleton : Boolean[read-only] 获取是否为单实例组件。 Compon...
来源: Laya2.0_api 发布时间: 20190513
...ublic Properties PropertyDefined By appliedImpulse : Number[read-only] 获取应用的冲力。 ConstraintComponent breakingImpulseThreshold : Number 获取打破冲力阈值。 ConstraintComponent connectedBody : Rigidbody3D 获取已连接的刚体。 ConstraintComponent destroyed : Boo...
来源: Laya2.0_api 发布时间: 20190513
...ited Public Properties PropertyDefined By destroyed : Boolean[read-only] 获取是否已销毁。 Component3D enable : Boolean 获取是否启用。 Component3D id : int[read-only] 获取唯一标识ID。 Component3D isSingleton : Boolean[override] [read-only] 获取是否为单实例组件...
来源: laya_api 发布时间: 20170929
...残留下的资源需要分别使用`Laya.loader.getRes(url:String)`接口获取到资源(Resource)对象之后,再调用资源对象的`destroy()`方法进行销毁。但是这种方法是非常麻烦的。LayaAir2.0为了方便开发者,提供了`Resource.destroyUnusedResources()`接口统...
来源: Laya2.0_文档 发布时间: 20210715