Example #1
0
 public static void SetString(PrefTypeString prefType, int index, string val)
 {
     PlayerPrefs.SetString(ParametersToString(prefType, index), val);
 }
Example #2
0
    // string

    public static string GetString(PrefTypeString prefType, int index)
    {
        return(PlayerPrefs.GetString(ParametersToString(prefType, index), ""));
    }