It looks like you're new here. If you want to get involved, click one of these buttons!
i want to make a game that runs also when its inactive(like idle games that you earn resourses even when youre not playing)
how can i count or check how much time has passed since last loggin?
It just return amount of time in seconds passed from the launch of application. For example:
float startTime = Time.time();
// Do stuff
float endTime = Time.time();
Debug.Log("Time taken: " + endTime - startTime);
is there a way to do this using the google play services ? so the player cant cheat