Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ObjectFlags

Flags that can be set on a Native Object.
Read time 1 minuteLast updated 7 days ago

Definition

Warning
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/)
[Flags]public enum ObjectFlags

Fields

Value

Description

IsDontDestroyOnLoadSpecifies that the object is marked as DontDestroyOnLoad.
IsManagerSpecifies that the object is marked as a manager.
IsPersistentSpecifies that the object is set as persistent.