Select your preferred scripting language. All code snippets will be displayed in this language.
struct in UnityEditor.MemoryProfiler
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseDescription of a C++ unity object in memory.
classId | ClassId of this C++ object. Use this classId to index into PackedMemorySnapshot.nativeTypes. |
hideFlags | The hideFlags this native object has. |
instanceId | InstanceId of this object. |
isDontDestroyOnLoad | Has this object has been marked as DontDestroyOnLoad? |
isManager | Is this native object an internal Unity manager object? |
isPersistent | Is this object persistent? (Assets are persistent, objects stored in scenes are persistent, dynamically created objects are not) |
name | Name of this object. |
size | Size in bytes of this object. |