Constructor RequiresPlayModeAttribute
RequiresPlayModeAttribute(bool)
Flags whether a test, test fixture, or assembly should run in PlayMode when run in the Editor.
Declaration
public RequiresPlayModeAttribute(bool requiresPlayMode = true)
Parameters
Type | Name | Description |
---|---|---|
bool | requiresPlayMode | If true, the test is always run in PlayMode. If false, the test is always run in EditMode. |