Class SwitchUnitDescriptor<T>
Inheritance
SwitchUnitDescriptor<T>
Syntax
public class SwitchUnitDescriptor<T> : UnitDescriptor<SwitchUnit<T>>, IAssigner, IUnitDescriptor, IDescriptor
Type Parameters
Constructors
SwitchUnitDescriptor(SwitchUnit<T>)
Declaration
public SwitchUnitDescriptor(SwitchUnit<T> unit)
Parameters
Methods
DefinedPort(IUnitPort, UnitPortDescription)
Declaration
protected override void DefinedPort(IUnitPort port, UnitPortDescription description)
Parameters
Overrides
Unity.VisualScripting.UnitDescriptor<Unity.VisualScripting.SwitchUnit<T>>.DefinedPort(Unity.VisualScripting.IUnitPort, Unity.VisualScripting.UnitPortDescription)
GetLabelForOption(T)
Declaration
protected virtual string GetLabelForOption(T option)
Parameters
Type |
Name |
Description |
T |
option |
|
Returns
Extension Methods