Beispiel #1
0
 protected void OnEnable()
 {
     if (ports == null)
     {
         ports = new NodePortDictionary();
     }
     if (graphHotfix != null)
     {
         graph = graphHotfix;
     }
     graphHotfix = null;
     UpdatePorts();
     Init();
 }
Beispiel #2
0
        protected void OnEnable()
        {
            if (graphHotfix != null)
            {
                graph = graphHotfix;
            }
            graphHotfix = null;

            setupIdentifier(Identifier);

            if (ports == null)
            {
                ports = new NodePortDictionary();
            }

            UpdatePorts();
            Init();
        }