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