Example #1
0
    public void SaveCoins()
    {
        var _coin = (int)Time.timeSinceLevelLoad;

        currentCoins = (coinReward - _coin - Superscript.TilEmpty);
        Superscript.SaveInt(PlayerPrefs.GetInt("coins") + currentCoins);
    }
Example #2
0
 public void TakeCoins()
 {
     Superscript.SaveInt(PlayerPrefs.GetInt("coins") - 100);
 }