Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Editor

Application is running in the Unity Editor.
Read time 1 minuteLast updated 5 days 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.