void OnEnable() { switch (Application.systemLanguage.ToString()) { case "Japanese": SelectJapanese(); break; case "ChineseTraditional": SelectChinese1(); break; case "ChineseSimplified": SelectChinese2(); break; case "Thai": SelectThai(); break; default: SelectEnglish(); break; } txtLanguage.text = Appli.GetLocaleText(LocaleTyp.TermLimitedYokai); //key value language }
public void SetName(string name) { Name = name; // ButtonText.text = name; nameLable.text = name; txtLanguage.text = Appli.GetLocaleText(LocaleTyp.TermLimitedYokai); //key value language // demotext.text = Appli.GetLocaleText(LocaleTyp.TermLimitedYokai); //key value language }
void DisalbeButton(string name) { try { List <Button> lstTemp = lstButton.FindAll(x => x.name != name); Button bt = lstButton.Find(x => x.name == name); txtLanguage.text = Appli.GetLocaleText(LocaleTyp.TermLimitedYokai); //key value language } catch (System.Exception e) { Debug.Log(e.Message); } }