Unity - Scripting API: EditorUtility.GetDirtyCount
Success!
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.
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Obsolete GetDirtyCount(int) is deprecated. Use GetDirtyCount(EntityId) instead.
Declaration
public static int GetDirtyCount(int instanceID);
Declaration
public static int GetDirtyCount(Object target);
Parameters
| Parameter | Description |
|---|---|
| instanceID | The object's instance ID. |
| target | The object. |
Description
Returns an integer that indicates the number of times the specified object's serialized properties have changed.