I have been using timeSinceLevelLoad to make a stopwatch score counter. When the game ends I want it to freeze the counter so that I can show the player their final score. When I use Time.timeScale = 0F; it pauses the timer but I need the rest of the game to continue instead of freezing entirely. How would I go about pausing the timeSinceLevelLoad without freezing everything else?
Time.realtimeSinceStartup is not affected by time scale. This however does start from when your program was first loaded.
So…
What you could do is: Record the Time.realtimeSinceStartup at the start of each level load. Then split the difference to determine how much time was spent on the specific level.