Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ExitingEditMode

Occurs when exiting edit mode, before the Editor is in play mode.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Field
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
ExitingEditMode = 1

Remarks

For new code, use OnExitingEditModeAttribute instead to avoid unnecessary event subscription handling. For more information, refer to Code reload and the code lifecycle in the manual.