- Home /
Question by
NPS · Sep 30, 2013 at 08:33 AM ·
editorapplicationfinish
Finish the app in the Editor?
Is there anything like Debug.Break()
but which finishes the app instead of pausing it?
Comment
Best Answer
Answer by ArkaneX · Sep 30, 2013 at 10:04 AM
You can use EditorApplication.isPlaying or eventually EditorApplication.ExecuteMenuItem("Edit/Play")
The first one did the trick, thx. I actually knew it but I thought it was read-only. :P