Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void OnApplicationPause(bool paused)
- {
- if(!paused) AddCoins( x => PlayerPrefs.SetInt("CoinCount", PlayerPrefs.GetInt("CoinCount")+x));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement