protected override void OnFinalize()
 {
     base.OnFinalize();
     if (LoadingWindow.GetGlobalLoadingWindowState())
     {
         LoadingWindow.DisableGlobalLoadingWindow();
     }
     Game.Current.GameStateManager.ActiveStateDisabledByUser = this._oldGameStateManagerDisabledStatus;
 }
        protected override void OnFinalize()
        {
            base.OnFinalize();
            if (LoadingWindow.GetGlobalLoadingWindowState())
            {
                LoadingWindow.DisableGlobalLoadingWindow();
            }

            this._dataSource    = null;
            this._gauntletLayer = null;
        }
示例#3
0
        protected override void OnFinalize()
        {
            base.OnFinalize();

            _bannerEditorLayer.OnFinalize();
            if (LoadingWindow.GetGlobalLoadingWindowState())
            {
                LoadingWindow.DisableGlobalLoadingWindow();
            }
            TaleWorlds.Core.Game.Current.GameStateManager.ActiveStateDisabledByUser = _oldGameStateManagerDisabledStatus;
        }