-
-
Notifications
You must be signed in to change notification settings - Fork 582
Node.[Input Output]
Thor Brigsted edited this page Jan 20, 2019
·
4 revisions
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;
}