unity save custom inspector changes code example Example: unity custom editor save changes EditorUtility.SetDirty(castedTarget);