Documentation

Unity Engine

Unity Engine

EnteredEditMode

Occurs during the next update of the Editor application if it is in edit mode and was previously in play mode.
Read time 1 minuteLast updated 15 days ago

Definition

  • Type: Field
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
EnteredEditMode = 0

Remarks

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