I am wanting to make an editor script of sorts that allows me to basically start and stop the play mode/reset the scene multiple times with different set variables. So basically run the script with var = 1, then with var = 3, or something similar to that. I have a list of all the values i want to be set.
I had a look but couldn't get Editor coroutines to work.
My only thought is to try and use coroutines and WaitUntil using EditorApplication.isPlaying
Thanks for your help 🙂
#Unity - Running same scene multiple times from editor script
1 messages · Page 1 of 1 (latest)