This version of Unity is unsupported.

EditorApplication.ExitPlaymode

Declaration

public static void ExitPlaymode();

Description

Switches the editor to Edit mode.

Equivalent to setting EditorApplication.isPlaying to false. isPlaying