Record the time the player spends in the game. Encrypt that and write to a player pref. When they next start the game, check the time you've stored and see if it violates your time limit.
↧