public static void Open(NodeController obj) { if (obj == null) { return; } if (window != null) { window.Close(); } window = null; target = obj; window = GetWindow <RuntimeNodeCanvas>(string.Format("{0}({1})", obj.name, obj.nodeFlowData.name)); }
private void Awake() { Target = target as NodeController; }