public void RemoveListeners() { OnPlayerUseCard = delegate { }; OnPause = delegate { }; OnUnPause = delegate { }; _ArmyUI.RemoveListeners(); _CardDisplayUI.RemoveListeners(); _HandUI.RemoveListeners(); TutorialPanel.RemoveListeners(); ModalPanel.RemoveListeners(); }
public void RemoveListeners() { OnCommanderMove = delegate { }; OnCommanderForceMove = delegate { }; OnCommanderGrounded = delegate { }; OnPlayerUseCard = delegate { }; OnPause = delegate { }; OnUnPause = delegate { }; _ArmouryUI.RemoveListeners(); _ArmyUI.RemoveListeners(); _CardDisplayUI.RemoveListeners(); _HandUI.RemoveListeners(); _battlebeardCommanderUI.RemoveListeners(); _stormshaperCommanderUI.RemoveListeners(); TutorialPanel.RemoveListeners(); ModalPanel.RemoveListeners(); }