Пример #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);
 }
Пример #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();
 }