Advertisement
Guest User

Untitled

a guest
Mar 3rd, 2015
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. void OnApplicationPause(bool paused)
  2. {
  3. if(!paused) AddCoins( x => PlayerPrefs.SetInt("CoinCount", PlayerPrefs.GetInt("CoinCount")+x));
  4. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement