public void LoadLocalize()
    {
        LocalizeCollection rewardData = LoadResourceController.GetLocalizeCollection();
        var _data = CSVReader.Read(LoadResourceController.LoadFromResource <TextAsset>(CsvPath.CSV_PATH, CsvPath.FN_LOCALIZE));

        rewardData.ParseData(_data);
    }
Exemple #2
0
 public static string LocalizeWithKey(string key)
 {
     if (localizeCollection == null)
     {
         localizeCollection = LoadResourceController.GetLocalizeCollection();
     }
     if (dic == null)
     {
         dic = localizeCollection.GetData();
     }
     return(GetKey(key));
 }