This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

ObjectFlagsExtensions

class in UnityEditor.Profiling.Memory.Experimental

Description

An extension class that contains member functions to ObjectFlags.

Static Methods

IsDontDestroyOnLoadTrue if the object is marked as DontDestroyOnLoad; otherwise false.
IsManagerTrue if the object is a manager, otherwise false.
IsPersistentTrue if the object is marked as Persistent, otherwise false.