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