public void Start() { Application.targetFrameRate = 60; Screen.SetResolution(Screen.currentResolution.width, Screen.currentResolution.height, true); Application.runInBackground = true; DisableAll(); startScreen.gameObject.SetActive(true); mainCanvas.gameObject.SetActive(true); data = SaveSystem.SaveExists("PlayerData") ? SaveSystem.LoadPlayer <PlayerData>("PlayerData") : new PlayerData(); Methods.NotationSettings = data.notationType; data.audioType = 1; data.frameRateType = 0; offline.LoadOfflineProduction(); infuse.StartInfusion(); challenge.StartChallenges(); kuaka.StartKuaka(); flame.StartFlame(); broken.StartBreak(); if (!data.hasAchievementsBeenReset) { achievement.ResetAchievements(); data.hasAchievementsBeenReset = true; } TotalPowerPerSecond(); settings.StartSettings(); isettings.StartSettings(); }
public void Start() { Application.targetFrameRate = 60; Screen.SetResolution(1920, 1080, false); Application.runInBackground = true; mainMenuGroup.gameObject.SetActive(true); settingsGroup.gameObject.SetActive(false); researchCanvas.gameObject.SetActive(false); sphereCanvas.gameObject.SetActive(false); infusionCanvas.gameObject.SetActive(false); prestigeCanvas.gameObject.SetActive(false); consoleCanvas.gameObject.SetActive(false); scriptLibraryCanvas.gameObject.SetActive(false); techTreeCanvas.gameObject.SetActive(false); data = SaveSystem.SaveExists("PlayerData") ? SaveSystem.LoadPlayer <PlayerData>("PlayerData") : new PlayerData(); offline.LoadOfflineProduction(); infuse.StartInfusion(); console.StartConsole(); scriptLibrary.StartLibrary(); bytes.StartInfusion(); TotalPowerPerSecond(); Methods.NotationSettings = data.notationType; }
public void Start() { auto.StartAutomator(); events.StartEvents(); prestige.StartPrestige(); Application.targetFrameRate = 60; Screen.SetResolution(1920, 1080, false); Application.runInBackground = true; realm.Realm1.gameObject.SetActive(true); mainMenuGroup.gameObject.SetActive(true); upgradesGroup.gameObject.SetActive(false); settingsGroup.gameObject.SetActive(false); achievementsGroup.gameObject.SetActive(false); eventsGroup.gameObject.SetActive(false); prestigeGroup.gameObject.SetActive(false); singularityGroup.gameObject.SetActive(false); realmsGroup.gameObject.SetActive(false); autoGroup.gameObject.SetActive(false); realm.Realm2.gameObject.SetActive(false); data = SaveSystem.SaveExists("PlayerData") ? SaveSystem.LoadPlayer <PlayerData>("PlayerData") : new PlayerData(); offline.LoadOfflineProduction(); TotalPlasmaPerSecond(); Methods.NotationSettings = data.notationType; }