Quantcast
Channel: Questions in topic: "playerprefs"
Viewing all articles
Browse latest Browse all 1333

How do i make a script that re-fills lives after 10min?

$
0
0
EDIT i got the life going down mechanics, i just need the time script. Everytime deaths go to 5 in a level i want to lower the PlayerPrefs for the Big Lives(ones in the menu, that decide wether you can play or not) by one. I dont know how to just *decrease* it instead of setting the PlayerPrefs to a specific number. Also if Big Lives <= 5 i want a timer to start that of reaches 10 min it would replenish one Big Life. But i cant really find anything. Can anybody help?

Viewing all articles
Browse latest Browse all 1333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>