示例#1
0
        public NodeData AddCustomNode(Node <INode> _node, ConstellationScript constellation)
        {
            if (script.Nodes == null)
            {
                script.Nodes = new List <NodeData>();
            }
            var newNode = new NodeData(_node);

            script.Nodes.Add(newNode);
            return(newNode);
        }
 public void SetConstellationScript(ConstellationScript constellationScript)
 {
     ConstellationData = constellationScript;
 }