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.
Implements
Inherited Members
Namespace: UnityEngine.TestTools
Assembly: solution.dll
Syntax
public class WaitForDomainReload : IEditModeTestYieldInstruction
Constructors
Name | Description |
---|---|
WaitForDomainReload() | Create a new instance of the
|
Properties
Name | Description |
---|---|
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. |
Methods
Name | Description |
---|---|
Perform() | Perform the multi step action of waiting for a domain reload. |