This version of Unity is unsupported.

EditorUtility.GetDirtyCount

Declaration

public static int GetDirtyCount(int instanceID);

Declaration

public static int GetDirtyCount(Object target);

Parameters

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.

This count is incremented each time a call to SetDirty changes the object's serializable properties, and is reset to zero when the object is saved.

See Also: IsDirty, SetDirty.