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); * } */ }
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); } }