Content-Length: 17834 | pFad | https://docs.unity3d.com/ScriptReference/../Manual/../ScriptReference/Debug.Break.html
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.
using UnityEngine;
public class ExampleScript : MonoBehaviour { void Start() { Debug.Break(); } }
Fetched URL: https://docs.unity3d.com/ScriptReference/../Manual/../ScriptReference/Debug.Break.html
Alternative Proxies: