示例#1
0
        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);
            }
        }
示例#2
0
        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();
            }
        }
示例#3
0
 public void SetChineseLanguage()
 {
     LanguageType = CLanguageType.Chinese;
     SaveFile();
 }
示例#4
0
 public void SetKoreanLanguage()
 {
     LanguageType = CLanguageType.Korean;
     SaveFile();
 }
示例#5
0
 public void SetJapaneseLanguage()
 {
     LanguageType = CLanguageType.Japanese;
     SaveFile();
 }
示例#6
0
 public void SetEnglishLanguage()
 {
     LanguageType = CLanguageType.English;
     SaveFile();
 }
示例#7
0
 public void SetIndonesiaLanguage()
 {
     LanguageType = CLanguageType.Indonesian;
     SaveFile();
 }
示例#8
0
 public void SetArabicLanguage()
 {
     LanguageType = CLanguageType.Arabic;
     SaveFile();
 }
示例#9
0
 public void SetChineseLanguage()
 {
     LanguageType = CLanguageType.Chinese;
 }
示例#10
0
 public void SetKoreanLanguage()
 {
     LanguageType = CLanguageType.Korean;
 }
示例#11
0
 public void SetJapaneseLanguage()
 {
     LanguageType = CLanguageType.Japanese;
 }
示例#12
0
 public void SetEnglishLanguage()
 {
     LanguageType = CLanguageType.English;
 }
示例#13
0
 public void SetIndonesiaLanguage()
 {
     LanguageType = CLanguageType.Indonesian;
 }
示例#14
0
 public void SetArabicLanguage()
 {
     LanguageType = CLanguageType.Arabic;
 }