Method AddVarSlot
AddVarSlot<T>(string, string, PortDirection, FieldExtra, T)
Adds the attached variable to a node slot.
Declaration
public void AddVarSlot<T>(string name, string tooltip, PortDirection portDirection, FieldExtra fieldRW, T refData)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the slot. |
string | tooltip | The tooltip. |
PortDirection | portDirection | The port direction. |
FieldExtra | fieldRW | The field extra settings. |
T | refData | The reference data. |
Type Parameters
Name | Description |
---|---|
T |