Exemple #1
0
    private void refreshPlays()
    {
        Debug.Log("ADTEST + refreshPlays: " + PlayerPrefs.HasKey("isPlays"));
        if (PlayerStatus.isPlaysRemoved())
        {
            plays_me.GetComponent <Text>().text = LanguageSystem.GET_INFINITY();
            plays = Int32.MaxValue;
            return;
        }

        plays = PlayerPrefs.GetInt("plays", 3);
        plays_me.GetComponent <Text>().text = "" + plays;
    }