private void SetLanguage(LangCode langCode) { if (CurrentLanguage == langCode) { return; } CurrentLanguage = langCode; EditorPrefs.SetInt(LocalizationKey, (int)CurrentLanguage); _localizations.Clear(); L10n.LoadLanguage(CurrentLanguage); _localizations = L10n.CurrentLanguage.GetValues(); }
public void SetFinnish() { L10n.LoadLanguage(LangCode.FI); }
public void SetEnglish() { L10n.LoadLanguage(LangCode.EN); }