Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ExitingPlayMode

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

Definition

  • Type: Field
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
ExitingPlayMode = 3

Remarks

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