示例#1
0
        public override void Init()
        {
            base.Init();

            //	UIMenuBackgroundManager.background = new UI_BackgroundMain();
            //Ö÷²Ëµ¥
            MainMenuDrawer.Init();

            QuickStarter.CheckQuickStart();
            //°æ±¾ÐÅÏ¢
            VersionUpdateDialogMaker.CreateVersionUpdateDialogIfNecessary();

            //Todo:×¢ÊÍSteam¼ì²â

            /*
             * if (!SteamManager.Initialized)
             * {
             *   Dialog_MessageBox window = new Dialog_MessageBox((string)"SteamClientMissing".Translate(), "Quit".Translate(), delegate
             *   {
             *       Application.Quit();
             *   }, "Ignore".Translate());
             *   Find.WindowStack.Add(window);
             * }
             */
        }
示例#2
0
 public override void Init()
 {
     base.Init();
     UIMenuBackgroundManager.background = new UI_BackgroundMain();
     MainMenuDrawer.Init();
     QuickStarter.CheckQuickStart();
     VersionUpdateDialogMaker.CreateVersionUpdateDialogIfNecessary();
     if (!SteamManager.Initialized)
     {
         Dialog_MessageBox window = new Dialog_MessageBox((string)"SteamClientMissing".Translate(), "Quit".Translate(), delegate
         {
             Application.Quit();
         }, "Ignore".Translate());
         Find.WindowStack.Add(window);
     }
 }