Description
Mark a field or property as a variable to Minibuffer.
// We can expose fields as variables in minibuffer.
[Variable]
public int myGold = 0;
// We can expose properties as variables in minibuffer.
[Variable]
public string quote {
get { return _quote.text; }
set { _quote.text = value; }
}
private Text _quote;
Type M-x edit-variable quote to edit the variable. Type M-x describe-variable quote to see information on the variable.
Public Member Functions | |
Variable () | |
Use the field or property's name. More... | |
Variable (string name) | |
Name the variable. | |
Public Attributes | |
string | name |
Name of the variable. | |
string | description |
Description of the variable. | |
string | briefDescription |
The brief description will be generated from the first sentence of the description if available; otherwise it's null. More... | |
string | definedIn |
Where was this variable defined? Use "class X" if not given. More... | |
Constructor & Destructor Documentation
Variable | ( | ) |
Use the field or property's name.
Member Data Documentation
string briefDescription |
The brief description will be generated from the first sentence of the description if available; otherwise it's null.
string definedIn |
Where was this variable defined? Use "class X" if not given.