EditorApplication.isPlayingOrWillChangePlaymode Manual     Reference     Scripting  
Scripting > Editor Classes > EditorApplication
EditorApplication.isPlayingOrWillChangePlaymode

static var isPlayingOrWillChangePlaymode : boolean

Description

Is editor either currently in play mode, or about to switch to it? (Read Only)

This will return true when editor will switch to play mode after finishing some tasks (e.g. after scripts will be recompiled).

See Also: isPlaying, isCompiling.