# ObjectFlagsExtensions

> An extension class that contains member functions to ObjectFlags.

## Definition

* **Type:** Class
* **Namespace:** [UnityEditor.Profiling.Memory.Experimental](/engine/6000.3/script-reference/unityeditor/profiling/memory/experimental.md)
* **Assembly:** UnityEditor

> **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/](https://docs.unity3d.com/Packages/com.unity.memoryprofiler@latest/))

```csharp
public static class ObjectFlagsExtensions
```

## Static Methods

| Method                                                                                                                                        | Description                                                         |
| --------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------- |
| [IsDontDestroyOnLoad](/engine/6000.3/script-reference/unityeditor/profiling/memory/experimental/objectflagsextensions/isdontdestroyonload.md) | True if the object is marked as DontDestroyOnLoad; otherwise false. |
| [IsManager](/engine/6000.3/script-reference/unityeditor/profiling/memory/experimental/objectflagsextensions/ismanager.md)                     | True if the object is a manager, otherwise false.                   |
| [IsPersistent](/engine/6000.3/script-reference/unityeditor/profiling/memory/experimental/objectflagsextensions/ispersistent.md)               | True if the object is marked as Persistent, otherwise false.        |
