Exemple #1
0
        public void ChangeLanguageTo(I18NLanguage language)
        {
            if (language == CurrentLanguage)
            {
                return;
            }

            CurrentLanguage = language;
            ReloadSentences(SceneManager.GetActiveScene().name);
        }
Exemple #2
0
 protected override void OnAwake()
 {
     CurrentLanguage = GetStartingLanguage();
 }