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