EditorOnlyAttribute
A class in Root.Township, Alta.Console.
Console requirement: the command only runs outside play mode (in the Unity editor).
- Listed in Console, logging and analytics
- Inherits or implements
RequirementAttribute
Constructors
| Member | What it is |
|---|---|
EditorOnlyAttribute() | Creates an EditorOnlyAttribute with default values. |
Methods
| Member | What it is |
|---|---|
override bool Check() | True when the application is not playing. |
override string ToString() | Returns "Editor Only". |