This version of Unity is unsupported.

ExitPlayMode

class in UnityEngine.TestTools


Implements interfaces:IEditModeTestYieldInstruction

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.