Editor
Application is running in the Unity Editor.
Read time 1 minuteLast updated 3 hours ago
Definition
- Type: Field
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
Editor = 5
Remarks
Application.installMode returns this value in the Unity Editor, in Edit and Play modes. Players never return it, so use it to guard Editor-only code.