Beispiel #1
0
 public void RemoveListeners()
 {
     OnPlayerUseCard = delegate { };
     OnPause         = delegate { };
     OnUnPause       = delegate { };
     _ArmyUI.RemoveListeners();
     _CardDisplayUI.RemoveListeners();
     _HandUI.RemoveListeners();
     TutorialPanel.RemoveListeners();
     ModalPanel.RemoveListeners();
 }
Beispiel #2
0
    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();
    }