Hi all, I am trying to add some kind of daily reward to my players.

What I want to do is when a player plays the game then quits it saves the time on quit.

When the player re launches the game check if 24 hours has passed and if so activate my reward gameobject to reward the player 500 coins.