# PackedNativeUnityEngineObject.ObjectFlags

> Equivalent of ObjectFlags in the old memory profiler API.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEditor.MemoryProfiler](/engine/6000.6/script-reference/unityeditor/memoryprofiler.md)
* **Assembly:** UnityEditor.CoreModule

> **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 enum PackedNativeUnityEngineObject.ObjectFlags
```

## Fields

| Value                                                                                                                                              | Description                                                       |
| -------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------- |
| [IsDontDestroyOnLoad](/engine/6000.6/script-reference/unityeditor/memoryprofiler/packednativeunityengineobject/objectflags/isdontdestroyonload.md) | Equivalent of IsDontDestroyOnLoad in the old memory profiler API. |
| [IsManager](/engine/6000.6/script-reference/unityeditor/memoryprofiler/packednativeunityengineobject/objectflags/ismanager.md)                     | Equivalent of IsManager in the old memory profiler API.           |
| [IsPersistent](/engine/6000.6/script-reference/unityeditor/memoryprofiler/packednativeunityengineobject/objectflags/ispersistent.md)               | Equivalent of IsPersistent in the old memory profiler API.        |
