Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

EditorApplication.EnterPlaymode

Declaration

public static void EnterPlaymode();

Description

Switches the editor to Play mode.

Equivalent to setting EditorApplication.isPlaying to true. Additional resources: isPlaying.