Skip to main content

EditorOnlyAttribute

A class in Root.Township, Alta.Console.

Console requirement: the command only runs outside play mode (in the Unity editor).

Constructors​

MemberWhat it is
EditorOnlyAttribute()Creates an EditorOnlyAttribute with default values.

Methods​

MemberWhat it is
override bool Check()True when the application is not playing.
override string ToString()Returns "Editor Only".