mirror of
https://github.com/Siccity/xNode.git
synced 2025-12-20 17:26:02 +08:00
Internal NodePorts now uses dicts instead of lists. This is faster and more manageable. Added instance ports. Added Node.Ports, Node.Outputs, Node.Inputs, Node.InstanceOutputs, Node.InstanceInputs Changed public GetInputByFieldName to GetInputValue and GetInputPort
10 lines
260 B
C#
10 lines
260 B
C#
namespace BasicNodes {
|
|
public class DisplayValue : Node {
|
|
[Input(ShowBackingValue.Never)] public object value;
|
|
|
|
public override object GetValue(NodePort port) {
|
|
return GetInputValue<object>("value", value);
|
|
}
|
|
}
|
|
}
|