Constructor RequiresPlayModeAttribute
RequiresPlayModeAttribute(bool)
Flags whether a test, test fixture, or assembly should run in PlayMode when run in the Editor.
선언
public RequiresPlayModeAttribute(bool requiresPlayMode = true)
파라미터
타입 | 이름 | 설명 |
---|---|---|
bool | requiresPlayMode | If true, the test is always run in PlayMode. If false, the test is always run in EditMode. |