using UnityEngine; namespace BasicNodes { public class Vector : Node { [Input] public float x, y, z; [Output] public Vector3 vector; public override object GetValue(NodePort port) { float x = GetInputValue("x", this.x); float y = GetInputValue("y", this.y); float z = GetInputValue("z", this.z); return new Vector3(x, y, z); } } }