* @zh 设置实体为场景本地(随场景销毁),恢复默认行为 * @en Mark entity as scene-local (destroyed with scene), restores default behavior * * @returns @zh this,支持链式调用 @en Returns this for chaining
()
| 234 | * @returns @zh this,支持链式调用 @en Returns this for chaining |
| 235 | */ |
| 236 | public setSceneLocal(): this { |
| 237 | this._lifecyclePolicy = EEntityLifecyclePolicy.SceneLocal; |
| 238 | return this; |
| 239 | } |
| 240 | |
| 241 | /** |
| 242 | * @zh 获取销毁状态 |
no outgoing calls
no test coverage detected