Class WaitForDomainReload
WaitForDomainReload is an IEditModeTestYieldInstruction that you can yield in Edit Mode tests. It delays the execution of scripts until after an incoming domain reload. If the domain reload results in a script compilation failure, then it throws an exception.
상속된 멤버
네임스페이스: UnityEngine.TestTools
어셈블리: solution.dll
구문
public class WaitForDomainReload : IEditModeTestYieldInstruction
생성자
이름 | 설명 |
---|---|
WaitForDomainReload() | Create a new instance of the
|
프로퍼티
이름 | 설명 |
---|---|
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() | Perform the multi step action of waiting for a domain reload. |