private void HandleShowResult(ShowResult result) { if (result == ShowResult.Finished) { PrefsDriver.AddPower(); GeneralLogic.StartSimulationEvent(); } else if (result == ShowResult.Failed) { SceneManager.LoadScene(1); } }
private void PlayPressed(int power) { isPlayMode = true; if (power > 0) { GeneralLogic.StartSimulationEvent(); } else if (PrefsDriver.IsPackGroupUnlocked(3)) { ShowAd(); } else { PrefsDriver.AddPower(3); GeneralLogic.StartSimulationEvent(); } }