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