Exemple #1
0
        public new void OnFinalize()
        {
            _partyScreenLogic.AfterReset -= AfterReset;
            _partyScreenLogic.Update     -= UpdateLabel;
            PartyScreenConfig.ExtraSettings.PropertyChanged -= OnEnableChange;

            _unitTallyVm.OnFinalize();
            _recruitPrisonerVm.OnFinalize();
            _upgradeTroopsVM.OnFinalize();
            _sortTroopsVM.OnFinalize();

            _unitTallyVm       = null;
            _recruitPrisonerVm = null;
            _upgradeTroopsVM   = null;
            _sortTroopsVM      = null;
        }