private void OnValueChanged_ClearPref() { if (clearPref.isOn) { SGStorage.ClearGenericPrefs(); PlayerPrefs.DeleteAll(); clearPref.isOn = false; } }
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()); }