Constructor EnterPlayMode
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.
Declaration
public EnterPlayMode(bool expectDomainReload = true)
Parameters
Type | Name | Description |
---|---|---|
bool | expectDomainReload | A flag indication whether to expect a domain reload. |