Lets say i have a public bool which rotates a cube when it is set to true.But it only happens when i play the scene but I want to do it in the scene view without playing the scene. How can I do it??
this would run the whole script in editor mode,
could try this also, but if you need it to start rotating cube (inside Update/EditorUpdate/OnGUI) then not:
or custom inspector could be one option, can add buttons and extra features
1 Like