- Home /
How To Programatically Uncheck the Auto-Save Check Box in Prefab Edit Mode?
For a custom editor window I'm creating, I isolate a prefab by calling AssetDatabase.OpenAsset() and Instantiate gameobjects as children of that prefab using StageUtility.PlaceGameObjectInCurrentStage(). Now I only need those children temporarily to save their information such as rotation and position in a database, but with the auto-save check box checked, it overwrites the original prefab with the children in place. I believe that alternatively I can add the new children to a list and delete them from the parent when done editing, but I'm wondering if it's possible to just programtically uncheck the auto-save checkbox. Any help is greatly appreciated.
Your answer
Follow this Question
Related Questions
Edit an object in isolation quickly, as in the new Prefab Mode 0 Answers
Custom HUD Hierarchy in Editor Window 2 Answers
Dynamic Editor Window Layout 0 Answers
Generic Unity Event triggered from Runtime with listener added in Custom Unity Editor 0 Answers
Adding dropdown to a list add buttom 2 Answers