Class LiteralOption
Inheritance
LiteralOption
Syntax
[FuzzyOption(typeof(Literal))]
public class LiteralOption : UnitOption<Literal>, IUnitOption, IFuzzyOption
Constructors
LiteralOption()
Declaration
LiteralOption(Literal)
Declaration
public LiteralOption(Literal unit)
Parameters
Properties
literalType
Declaration
public Type literalType { get; }
Property Value
Methods
Deserialize(UnitOptionRow)
Declaration
public override void Deserialize(UnitOptionRow row)
Parameters
Overrides
Unity.VisualScripting.UnitOption<Unity.VisualScripting.Literal>.Deserialize(Unity.VisualScripting.UnitOptionRow)
FavoriteKey()
Declaration
protected override string FavoriteKey()
Returns
Overrides
Unity.VisualScripting.UnitOption<Unity.VisualScripting.Literal>.FavoriteKey()
FillFromUnit()
Declaration
protected override void FillFromUnit()
Overrides
Unity.VisualScripting.UnitOption<Unity.VisualScripting.Literal>.FillFromUnit()
Icon()
Declaration
protected override EditorTexture Icon()
Returns
Overrides
Unity.VisualScripting.UnitOption<Unity.VisualScripting.Literal>.Icon()
Label(Boolean)
Declaration
protected override string Label(bool human)
Parameters
Type |
Name |
Description |
Boolean |
human |
|
Returns
Overrides
Unity.VisualScripting.UnitOption<Unity.VisualScripting.Literal>.Label(System.Boolean)
Serialize()
Declaration
public override UnitOptionRow Serialize()
Returns
Overrides
Unity.VisualScripting.UnitOption<Unity.VisualScripting.Literal>.Serialize()
Extension Methods