Class EnterPlayMode
Implements IEditModeTestYieldInstruction. Creates a yield instruction to enter Play Mode.
상속된 멤버
네임스페이스: UnityEngine.TestTools
어셈블리: solution.dll
구문
public class EnterPlayMode : IEditModeTestYieldInstruction
생성자
이름 | 설명 |
---|---|
EnterPlayMode(bool) | When creating an Editor test that uses the UnityTest attribute, use this to trigger the Editor to enter Play Mode. Throws an exception if the Editor is already in Play Mode or if there is a script compilation error. |
프로퍼티
이름 | 설명 |
---|---|
ExpectDomainReload | Returns true if the instruction expects a domain reload to occur. |
ExpectedPlaymodeState | Returns true if the instruction expects the Unity Editor to be in Play Mode. |
메서드
이름 | 설명 |
---|---|
Perform() | Performs the multi-step instructions of entering PlayMode. |