示例#1
0
 Settings()
 {
     if (!PlayerPrefs.HasKey("Lang"))
     {
         CurrentLanguage = Language.ENG;
         PlayerPrefs.SetInt("Lang", (int)CurrentLanguage);
     }
     else
     {
         CurrentLanguage = (Language)PlayerPrefs.GetInt("Lang");
     }
 }
示例#2
0
 public void ChageLanguage(Language lang)
 {
     CurrentLanguage = lang;
 }