void LoadCurrentLanguage(string aLanguage) { if (aLanguage == "ARABIC") { LanguageType = CLanguageType.Arabic; } if (aLanguage == "INDONESIAN") { LanguageType = CLanguageType.Indonesian; } if (aLanguage == "ENGLISH") { LanguageType = CLanguageType.English; } if (aLanguage == "KOREAN") { LanguageType = CLanguageType.Korean; } if (aLanguage == "JAPANESE") { LanguageType = CLanguageType.Japanese; } if (aLanguage == "CHINESE") { LanguageType = CLanguageType.Chinese; } IndonesianGameObject.SetActive(false); EnglishGameObject.SetActive(false); ArabicGameObject.SetActive(false); KoreanGameObject.SetActive(false); JapaneseGameObject.SetActive(false); ChineseGameObject.SetActive(false); if (LanguageType == CLanguageType.Indonesian) { IndonesianGameObject.SetActive(true); } if (LanguageType == CLanguageType.English) { EnglishGameObject.SetActive(true); } if (LanguageType == CLanguageType.Arabic) { ArabicGameObject.SetActive(true); } if (LanguageType == CLanguageType.Korean) { KoreanGameObject.SetActive(true); } if (LanguageType == CLanguageType.Japanese) { JapaneseGameObject.SetActive(true); } if (LanguageType == CLanguageType.Chinese) { ChineseGameObject.SetActive(true); } }
void LoadCurrentLanguage(string aLanguage) { if (aLanguage == "ARABIC") { LanguageType = CLanguageType.Arabic; } if (aLanguage == "INDONESIAN") { LanguageType = CLanguageType.Indonesian; } if (aLanguage == "ENGLISH") { LanguageType = CLanguageType.English; } if (aLanguage == "KOREAN") { LanguageType = CLanguageType.Korean; } if (aLanguage == "JAPANESE") { LanguageType = CLanguageType.Japanese; } if (aLanguage == "CHINESE") { LanguageType = CLanguageType.Chinese; } if (usingArabic) { ArabicEvent.Invoke(); } if (usingIndonesia) { IndonesiaEvent.Invoke(); } if (usingEnglish) { EnglishEvent.Invoke(); } if (usingKorean) { KoreanEvent.Invoke(); } if (usingJapanese) { JapaneseEvent.Invoke(); } if (usingChinese) { ChineseEvent.Invoke(); } }
public void SetChineseLanguage() { LanguageType = CLanguageType.Chinese; SaveFile(); }
public void SetKoreanLanguage() { LanguageType = CLanguageType.Korean; SaveFile(); }
public void SetJapaneseLanguage() { LanguageType = CLanguageType.Japanese; SaveFile(); }
public void SetEnglishLanguage() { LanguageType = CLanguageType.English; SaveFile(); }
public void SetIndonesiaLanguage() { LanguageType = CLanguageType.Indonesian; SaveFile(); }
public void SetArabicLanguage() { LanguageType = CLanguageType.Arabic; SaveFile(); }
public void SetChineseLanguage() { LanguageType = CLanguageType.Chinese; }
public void SetKoreanLanguage() { LanguageType = CLanguageType.Korean; }
public void SetJapaneseLanguage() { LanguageType = CLanguageType.Japanese; }
public void SetEnglishLanguage() { LanguageType = CLanguageType.English; }
public void SetIndonesiaLanguage() { LanguageType = CLanguageType.Indonesian; }
public void SetArabicLanguage() { LanguageType = CLanguageType.Arabic; }