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 12 days ago
Definition
- Type: Field
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
EnteredEditMode = 0
Remarks
In this condition both EditorApplication.isPlaying and EditorApplication.isPlayingOrWillChangePlaymode are .
falseFor 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.