文档

Unity Engine

Unity Engine

isPersistent

Is this object persistent? (Assets are persistent, objects stored in Scenes and dynamically created objects are not persistent).
阅读时间1 分钟最后更新于 1 个月前

Definition

警告
Deprecated. This API is outdated and will be removed. Please check out the Memory Profiler Package (https://docs.unity3d.com/Packages/com.unity.memoryprofiler@latest/)
public bool isPersistent { get; }