Exemplo n.º 1
0
 public static I18nDB getInstance(string category)
 {
     if (!cache.ContainsKey(category))
     {
         I18nDB i18NDB = Resources.Load <I18nDB>(category);
         i18NDB.category = category;
         cache.Add(category, i18NDB);
     }
     return(cache[category]);
 }
Exemplo n.º 2
0
 public string _get(string cat, string key)
 {
     return(I18nDB.get(cat, key, language));
 }