mirror of
https://github.com/Siccity/xNode.git
synced 2025-12-20 09:16:01 +08:00
13 lines
387 B
C#
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));
|
|
}
|
|
}
|