Class SwitchOnStringDescriptor
Inheritance
SwitchOnStringDescriptor
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[Descriptor(typeof(SwitchOnString))]
public class SwitchOnStringDescriptor : SwitchUnitDescriptor<string>, IAssigner, IUnitDescriptor, IDescriptor
Constructors
SwitchOnStringDescriptor(SwitchOnString)
Declaration
public SwitchOnStringDescriptor(SwitchOnString unit)
Parameters
Type | Name | Description |
---|---|---|
SwitchOnString | unit |
Methods
GetLabelForOption(String)
Declaration
protected override string GetLabelForOption(string option)
Parameters
Type | Name | Description |
---|---|---|
String | option |
Returns
Type | Description |
---|---|
String |
Overrides
Unity.VisualScripting.SwitchUnitDescriptor<System.String>.GetLabelForOption(System.String)