Node.[Input Output] - Siccity/xNode GitHub Wiki
public [Input(ShowBackingValue backingValue, ConnectionType connectionType, bool instancePortList = false)];
public [Output(ShowBackingValue backingValue, ConnectionType connectionType, bool instancePortList = false)];
Parameters | Summary |
---|---|
backingValue | When to show the field inspector associated with this NodePort. |
connectionType | Should we allow multiple connections? |
instancePortList | Display a reoderable list of ports, optionally using array data as backing values |
Assign an input or output port to a public or private serialized field.
public class ExampleNode : Node{
[Input] public float a;
[Output] public float b;
}