1
0
mirror of https://github.com/Siccity/xNode.git synced 2025-12-20 09:16:01 +08:00
xNode/Examples/Nodes/BaseNode.cs
Thor Brigsted d3f0d96954 Cleaned up
2017-09-20 20:25:21 +02:00

13 lines
387 B
C#

public class BaseNode : Node {
public string asdf;
protected override void Init() {
inputs = new NodePort[2];
inputs[0] = CreateNodeInput("IntInput", typeof(int));
inputs[1] = CreateNodeInput("StringInput", typeof(string));
outputs = new NodePort[1];
outputs[0] = CreateNodeOutput("StringOutput", typeof(string));
}
}