mirror of
https://github.com/Siccity/xNode.git
synced 2025-12-20 01:06:01 +08:00
16 lines
459 B
C#
16 lines
459 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class BaseNode : Node {
|
|
|
|
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));
|
|
}
|
|
}
|