public static bool SetStringArray(string key, char separator, params string[] strings) { try { if (strings.Length == 0) { PsdLayerPrefs.SetString(key, ""); } else { PsdLayerPrefs.SetString(key, string.Join(separator.ToString(), strings)); } } catch (Exception e) { if (PsdLayerPrefs.verbose) { Debug.LogError(e.Message); } return(false); } return(true); }
public static bool SetFloat(string key, float v) { return(PsdLayerPrefs.SetString(key, v.ToString())); }
public static bool SetInt(string key, int v) { return(PsdLayerPrefs.SetString(key, v.ToString())); }