Exemplo n.º 1
0
    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
    }
Exemplo n.º 2
0
 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
 }
Exemplo n.º 3
0
 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);
     }
 }