private void RemoveListeners() { DFNotifyManager.RemoveListener(DFNotifyType.OnNodeExpend, gameObject); DFNotifyManager.RemoveListener(DFNotifyType.OnNodePin, gameObject); DFNotifyManager.RemoveListener(DFNotifyType.OnGraphDataUpdate, gameObject); DFNotifyManager.RemoveListener(DFNotifyType.OnNodeHighlight, gameObject); }
public void RemoveListeners() { DFNotifyManager.RemoveListener(DFNotifyType.OnNodeSelected, gameObject); DFNotifyManager.RemoveListener(DFNotifyType.OnUIRefresh, gameObject); DFNotifyManager.RemoveListener(DFNotifyType.OnNodeMenuUpdate, gameObject); DFNotifyManager.RemoveListener(DFNotifyType.OnThemesUpdate, gameObject); timeGroup.RemoveListeners(); }