- Home /
Question by
Sinperhezine · Jan 14, 2013 at 12:38 AM ·
scenepause
Is there a way to script the scene to pause itself or debug.
I don't mean for error seeing as it already there. I'm attempting to figure out a what my game object are bumping into during play and it would really help the moment it but into something i will pause the scene without me having to break my own code.
Comment
Best Answer
Answer by cdrandin · Jan 14, 2013 at 01:53 AM
Debug.Break();
Straight from the docs: Description Pauses the editor.
This is useful when you want to check certain values on the inspector and you are not able to pause it manually.
Your answer
Follow this Question
Related Questions
Timer gets executed in the wrong scene 1 Answer
Unity is stuttering.. every 1.5 seconds about. 4 Answers
Pause Menu Problem 1 Answer
Audio problem 1 Answer
pause menu on android phone 1 Answer