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

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