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
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.