Version: 2019.1
Experimental: this API is experimental and might be changed or removed in the future.

ObjectFlagsExtensions

class in UnityEditor.Profiling.Memory.Experimental

Switch to Manual

Description

An extension class that contains member functions to ObjectFlags.

Static Functions

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.