public void LoadBackScene() { if (!SGScenes.LoadBackScene()) { StartCoroutine(SGEnvironment.Quit()); } }
private void OnValueChanged_ForceCrashlytics() { if (forceCrashlytics.isOn) { forceCrashlytics.isOn = false; SGDebug.ForceException(); StartCoroutine(SGEnvironment.Quit()); } }
void CheckGenuineApp() { if (checkGenuineApp) { if (!SGSecurity.CheckGenuine()) { SGDebug.LogWarning("CheckGenuine=false"); SGDebug.SetCustomKey("CheckGenuine", "False"); SGDebug.ForceException(); StartCoroutine(SGEnvironment.Quit()); } } }
public void OnClick() { // restore sounds SGSound.SoundLevel = 1; SGSound.MusicLevel = 1; // restore storages SGStorage.ClearGenericPrefs(); // delete files SGSaveLoad.DeleteLocal(); // load boot scene StartCoroutine(SGEnvironment.Quit()); }
public void OnClick_UpgradeNow() { StartCoroutine(SGEnvironment.Quit()); }