Exemple #1
0
 public void SaveSettingToLocal()
 {
     try
     {
         string newStr = SettingConfigUtil.DictionaryToString(_localCache);
         PlayerPrefs.SetString(LocalCacheKey, newStr);
     }
     catch (Exception e)
     {
         _logger.Error(e);
     }
 }
 public void SaveLocalVideoSetting(Dictionary <int, float> list)
 {
     try
     {
         string newStr = SettingConfigUtil.DictionaryToString(list);
         PlayerPrefs.SetString(LocalVideoCacheKey, newStr);
     }
     catch (Exception e)
     {
         _logger.Error(e);
     }
 }