Break()
Pauses the editor.
阅读时间1 分钟最后更新于 1 个月前
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(); }}