There is a timer in my game. Today I realized that if the game is run on a mobile device, and during the game the game is minimized (by pressing the home button), the timer is paused and does not continue in the background. I need the timer to continue equally even if the game is minimized.
Can anyone tell me how I can do it?
Can anyone tell me how I can do it?