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.
선언
public EnterPlayMode(bool expectDomainReload = true)
파라미터
타입 | 이름 | 설명 |
---|---|---|
bool | expectDomainReload | A flag indication whether to expect a domain reload. |