// Token: 0x06000A8E RID: 2702 RVA: 0x00041B4C File Offset: 0x0003FD4C public void SetValues() { PlayerPrefs.SetInt("languageValue", this.languageValue); PlayerPrefs.SetInt("degreesValue", this.degreesValue); PlayerPrefs.SetInt("voiceLanguageValue", this.voiceLanguageValue); LocalisationSystem.ChangeLanguage(this.languageValue, this.voiceLanguageValue); for (int i = 0; i < this.localiserText.Length; i++) { this.localiserText[i].LoadText(); } this.UpdateUIValues(); }
// Token: 0x06000A8D RID: 2701 RVA: 0x00041AC0 File Offset: 0x0003FCC0 private void Awake() { this.languageValue = PlayerPrefs.GetInt("languageValue"); this.degreesValue = PlayerPrefs.GetInt("degreesValue"); this.voiceLanguageValue = PlayerPrefs.GetInt("voiceLanguageValue"); if (PlayerPrefs.GetInt("voiceLanguageValue") == 0) { this.voiceLanguageValue = this.languageValue; } LocalisationSystem.ChangeLanguage(this.languageValue, this.voiceLanguageValue); for (int i = 0; i < this.localiserText.Length; i++) { this.localiserText[i].LoadText(); } this.UpdateUIValues(); }