Class VariableUnitOption<TVariableUnit>
Inheritance
VariableUnitOption<TVariableUnit>
Syntax
public abstract class VariableUnitOption<TVariableUnit> : UnitOption<TVariableUnit>, IUnitOption, IFuzzyOption, IVariableUnitOption where TVariableUnit : VariableUnit
Type Parameters
Name |
Description |
TVariableUnit |
|
Constructors
VariableUnitOption()
Declaration
protected VariableUnitOption()
VariableUnitOption(TVariableUnit)
Declaration
protected VariableUnitOption(TVariableUnit unit)
Parameters
Type |
Name |
Description |
TVariableUnit |
unit |
|
Properties
hasDefaultName
Declaration
protected bool hasDefaultName { get; }
Property Value
Methods
DefaultNameLabel()
Declaration
protected virtual string DefaultNameLabel()
Returns
FavoriteKey()
Declaration
protected override string FavoriteKey()
Returns
Overrides
Unity.VisualScripting.UnitOption<TVariableUnit>.FavoriteKey()
Haystack(Boolean)
Declaration
protected override string Haystack(bool human)
Parameters
Type |
Name |
Description |
Boolean |
human |
|
Returns
Overrides
Unity.VisualScripting.UnitOption<TVariableUnit>.Haystack(System.Boolean)
Kind()
Declaration
public virtual string Kind()
Returns
Implements
Label(Boolean)
Declaration
protected override string Label(bool human)
Parameters
Type |
Name |
Description |
Boolean |
human |
|
Returns
Overrides
Unity.VisualScripting.UnitOption<TVariableUnit>.Label(System.Boolean)
SearchResultLabel(String)
Declaration
public override string SearchResultLabel(string query)
Parameters
Type |
Name |
Description |
String |
query |
|
Returns
Overrides
Unity.VisualScripting.UnitOption<TVariableUnit>.SearchResultLabel(System.String)
Extension Methods