Ejemplo n.º 1
0
 public static void SetInt(PrefTypeInt prefType, int index, int val)
 {
     PlayerPrefs.SetInt(ParametersToString(prefType, index), val);
 }
Ejemplo n.º 2
0
    // int

    public static int GetInt(PrefTypeInt prefType, int index)
    {
        return(PlayerPrefs.GetInt(ParametersToString(prefType, index), 0));
    }