Class UnifiedVariableUnitOption<TVariableUnit>
Inheritance
UnifiedVariableUnitOption<TVariableUnit>
Syntax
public abstract class UnifiedVariableUnitOption<TVariableUnit> : UnitOption<TVariableUnit>, IUnifiedVariableUnitOption, IUnitOption, IFuzzyOption where TVariableUnit : UnifiedVariableUnit
Type Parameters
Name |
Description |
TVariableUnit |
|
Constructors
UnifiedVariableUnitOption()
Declaration
[Obsolete("This parameterless constructor is only made public for serialization. Use another constructor instead.")]
protected UnifiedVariableUnitOption()
UnifiedVariableUnitOption(VariableKind, String)
Declaration
protected UnifiedVariableUnitOption(VariableKind kind, string defaultName = null)
Parameters
Properties
hasName
Declaration
public bool hasName { get; }
Property Value
kind
Declaration
public VariableKind kind { get; }
Property Value
Implements
name
Declaration
public string name { get; }
Property Value
Implements
Methods
Deserialize(UnitOptionRow)
Declaration
public override void Deserialize(UnitOptionRow row)
Parameters
Overrides
Unity.VisualScripting.UnitOption<TVariableUnit>.Deserialize(Unity.VisualScripting.UnitOptionRow)
Implements
FavoriteKey()
Declaration
protected override string FavoriteKey()
Returns
Overrides
Unity.VisualScripting.UnitOption<TVariableUnit>.FavoriteKey()
Icon()
Declaration
protected override EditorTexture Icon()
Returns
Overrides
Unity.VisualScripting.UnitOption<TVariableUnit>.Icon()
Label(Boolean)
Declaration
protected override string Label(bool human)
Parameters
Type |
Name |
Description |
Boolean |
human |
|
Returns
Overrides
Unity.VisualScripting.UnitOption<TVariableUnit>.Label(System.Boolean)
NamedLabel(Boolean)
Declaration
protected abstract string NamedLabel(bool human)
Parameters
Type |
Name |
Description |
Boolean |
human |
|
Returns
Declaration
public override void PreconfigureUnit(TVariableUnit unit)
Parameters
Type |
Name |
Description |
TVariableUnit |
unit |
|
Overrides
Unity.VisualScripting.UnitOption<TVariableUnit>.PreconfigureUnit(TVariableUnit)
SearchResultLabel(String)
Declaration
public override string SearchResultLabel(string query)
Parameters
Type |
Name |
Description |
String |
query |
|
Returns
Overrides
Unity.VisualScripting.UnitOption<TVariableUnit>.SearchResultLabel(System.String)
Implements
Serialize()
Declaration
public override UnitOptionRow Serialize()
Returns
Overrides
Unity.VisualScripting.UnitOption<TVariableUnit>.Serialize()
Implements
UnnamedLabel(Boolean)
Declaration
protected abstract string UnnamedLabel(bool human)
Parameters
Type |
Name |
Description |
Boolean |
human |
|
Returns
Extension Methods