示例#1
0
        /// <summary> Create a new deep copy of this graph </summary>
        public XNode.MonoNodeGraph Copy()
        {
            // Instantiate a new nodegraph instance
            MonoNodeGraph graph = Instantiate(this);

            return(graph);
        }
示例#2
0
 public void OnEnable()
 {
     if (graphHotfix != null)
     {
         graph = graphHotfix;
     }
     graphHotfix = null;
     UpdateStaticPorts();
     Init();
 }