Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ObjectFlagsExtensions

An extension class that contains member functions to ObjectFlags.
Read time 1 minuteLast updated 6 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/)
public static class ObjectFlagsExtensions

Static Methods

Method

Description

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.