EnteredPlayMode
Occurs during the next update of the Editor application if it is in play mode and was previously in edit mode.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Field
- Namespace: UnityEditor
- Assembly: UnityEditor
EnteredPlayMode = 2
Remarks
In this condition both EditorApplication.isPlaying and EditorApplication.isPlayingOrWillChangePlaymode are .
trueBecause this event is synchronized with the editor application's update loop, it may occur after the game's update loop has already executed one or more times.