This version of Unity is unsupported.

EditorApplication.EnterPlaymode

Declaration

public static void EnterPlaymode();

Description

Switches the editor to Play mode.

Equivalent to setting EditorApplication.isPlaying to true. See Also: isPlaying.