Esempio n. 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);
        }
Esempio n. 2
0
 public void OnEnable()
 {
     if (graphHotfix != null)
     {
         graph = graphHotfix;
     }
     graphHotfix = null;
     UpdateStaticPorts();
     Init();
 }