IsPersistent(ObjectFlags)
True if the object is marked as Persistent, otherwise false.
Read time 1 minuteLast updated 8 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Profiling.Memory.Experimental
- Assembly: UnityEditor.CoreModule
public static bool IsPersistent(this ObjectFlags flags)
Parameters
The ObjectFlags to operate on (accessible via this).
Returns
Type | Description |
|---|---|
| bool | Returns true if the object associated with this ObjectFlags is marked as Persistent. |