Ejemplo n.º 1
0
 private void AddListeners()
 {
     DFNotifyManager.AddListener(DFNotifyType.OnNodeExpend, gameObject, OnNodeExpend);
     DFNotifyManager.AddListener(DFNotifyType.OnNodePin, gameObject, OnNodePinned);
     DFNotifyManager.AddListener(DFNotifyType.OnNodeHighlight, gameObject, OnNodeHighlight);
     DFNotifyManager.AddListener(DFNotifyType.OnGraphDataUpdate, gameObject, OnGraphDataUpdate);
 }
Ejemplo n.º 2
0
 public void AddListeners()
 {
     DFNotifyManager.AddListener(DFNotifyType.OnNodeSelected, gameObject, OnNodeSelected);
     DFNotifyManager.AddListener(DFNotifyType.OnUIRefresh, gameObject, OnUIUpdate);
     DFNotifyManager.AddListener(DFNotifyType.OnNodeMenuUpdate, gameObject, OnMenuUpdate);
     DFNotifyManager.AddListener(DFNotifyType.OnThemesUpdate, gameObject, OnThemesUpdate);
     timeGroup.AddListeners();
 }