i want to give some power to my user after one houre but i dont know how can i achive this
also i want to know after how many days my user open the game and close the game
For first question, use PlayerPrefs class to save and load time. Do not rely on local time, retrieve time from some public time server. If you mean playtime, use Time.realtimeSinceStartup to calculate playtime.
As for second, there’s unity analytics for that purpose Player Engagement & Retention Optimization Platform | Unity
1 Like
Thanks