Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Break()

Pauses the editor.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static void Break()

Remarks

This is useful when you want to check certain values on the inspector and you are not able to pause it manually.

Examples

using UnityEngine;public class ExampleScript : MonoBehaviour{ void Start() { Debug.Break(); }}