Ejemplo n.º 1
0
        /// <summary> Creates a copy of the original node in the graph </summary>
        public virtual Node CopyNode(Node original)
        {
            Node.graphHotfix = this;
            Node node = ScriptableObject.Instantiate(original);

            node.graph = this;
            node.ClearConnections();
            node.ClearLinksAssignments();
            nodes.Add(node);
            return(node);
        }