Hello. I’ve been using a custom script that extends Editor to provide a custom inspect to speed up tile based level creation in my project. What I want to do is search for a game object in my scene and modify the value of a field on one of the scripts attached to this object. The field is change how I want and imagine, but when unity starts up, the field is reset to a default value. Ive searched around but haven’t found anything. Any help would be appreciated!
I solved my problem, I needed to use EditorUtility.SetDirty(object);