LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

PlayModeStateChange

enumeration

Description

Enumeration specifying a change in the Editor's play mode state.

See Also: PauseState, EditorApplication.playModeStateChanged, EditorApplication.isPlaying.

Properties

EnteredEditModeOccurs as soon as the Editor is in edit mode, after having been in play mode.
ExitingEditModeOccurs when exiting edit mode, before the Editor is in play mode.
EnteredPlayModeOccurs as soon as the Editor is in play mode.
ExitingPlayModeOccurs when exiting play mode, before the Editor is in edit mode.