예제 #1
0
 void Update()
 {
     if (PlayerPrefsManager1.GetSelectedLanguage() == "EN")
     {
         source.clip = english;
     }
     else
     {
         source.clip = french;
     }
 }
예제 #2
0
 void SetText()
 {
     //check language preferences
     if (PlayerPrefsManager1.GetSelectedLanguage() == "EN")
     {
         description.text = english;
     }
     else
     {
         description.text = french;
     }
 }