Version: 2019.1

ExitPlayMode

class in UnityEngine.TestTools


Implements interfaces:IEditModeTestYieldInstruction

Switch to Manual

Description

Creates a yield instruction to exit Play Mode.

An exception will be thrown if the Editor is not in Play Mode.

See also EnterPlayMode.