ZeroX4
2
You would start timer and check if it is greater than 2 hours
If you need it to work between scenes
Or you need to save how long you were playing between opening/closing games
Then last part of this tutorial cover timers same as example and in general tutorial is about saving/loading
And all you would need to when timer exceeded its value simply switch scene to something
1 Like