|
I am using a script which executes during edit mode.(@script ExecuteInEditMode();) and I need to know when my user decides to load a new scene inside the editor. How do I do this? Cheers
(comments are locked)
|
|
Application.isPlaying will be false when code executes in the editor and the game is not running.
(comments are locked)
|
|
I'd like to know this too. My best idea right now is to check "EditorApplication.currentScene" in "EditorWindow.Update" to see if it has changed since last time but it's not a very elegant solution...
(comments are locked)
|
