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); }
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(); }