public static string GetText(int id, LanguageSystem.Language language) { RootObject data = null; if (_dataDic.TryGetValue(id, out data)) { return(data.LanguageDic[language]); } else { return(string.Empty); } }
public void SetLanguage(LanguageSystem.Language language) { Label.text = LanguageData.GetText(ID, language); }