/// <summary> /// Creates a new NodeOutput in NodeBody of specified type /// </summary> public static NodeOutput Create(Node NodeBody, string OutputName, string OutputType) { NodeOutput output = CreateInstance <NodeOutput> (); output.body = NodeBody; output.name = OutputName; output.SetType(OutputType); NodeBody.Outputs.Add(output); return(output); }