v3.6.1 Documentation
Fungus.CommandInfoAttribute Class Reference

Attribute class for Fungus commands. More...

Inheritance diagram for Fungus.CommandInfoAttribute:

Public Member Functions

 CommandInfoAttribute (string category, string commandName, string helpText, int priority=0)
 Metadata atribute for the Command class. More...


string Category [get, set]
string CommandName [get, set]
string HelpText [get, set]
int Priority [get, set]

Detailed Description

Attribute class for Fungus commands.

Definition at line 14 of file Command.cs.

Constructor & Destructor Documentation

◆ CommandInfoAttribute()

Fungus.CommandInfoAttribute.CommandInfoAttribute ( string  category,
string  commandName,
string  helpText,
int  priority = 0 

Metadata atribute for the Command class.

categoryThe category to place this command in.
commandNameThe display name of the command.
helpTextHelp information to display in the inspector.
priorityIf two command classes have the same name, the one with highest priority is listed. Negative priority removess the command from the list.


Definition at line 23 of file Command.cs.

Property Documentation

◆ Category

string Fungus.CommandInfoAttribute.Category

Definition at line 31 of file Command.cs.

◆ CommandName

string Fungus.CommandInfoAttribute.CommandName

Definition at line 32 of file Command.cs.

◆ HelpText

string Fungus.CommandInfoAttribute.HelpText

Definition at line 33 of file Command.cs.

◆ Priority

int Fungus.CommandInfoAttribute.Priority

Definition at line 34 of file Command.cs.

The documentation for this class was generated from the following file: