public void SaveCoins() { var _coin = (int)Time.timeSinceLevelLoad; currentCoins = (coinReward - _coin - Superscript.TilEmpty); Superscript.SaveInt(PlayerPrefs.GetInt("coins") + currentCoins); }
public void TakeCoins() { Superscript.SaveInt(PlayerPrefs.GetInt("coins") - 100); }