- Home /
Timer Pause
I have made a GUI timer that counts how long you have been driving for on a game. My question is how do you save the time that the person got and then display it on the finish screen "Just a Camera looking at a grey cube with writing on it".
Is the "Camera looking at a grey cube with writing on it" a separate scene ? And are you using C# or javascript
Answer by KyleHickman · Dec 08, 2011 at 12:45 AM
Im not quite sure if this is what you are looking for but...
(this is also assuming the grey cube with writing on it is in a different scene.)
Maybe you could create an Empty GameObject and write a script that uses DontDestroyOnLoad while storing the time variable that the GUI Timer uses. Then after this u can access this variable for the use of displaying it.
How do you store the time that was on the GUI timer is basically all I'm asking
If you want help you need to be helpful with your question. If that's basically all you are asking, then basically store it in a variable.
Your answer
Follow this Question
Related Questions
Time.timeScale = 0 breaks my GUI. 0 Answers
Creation of a Pause and a Console Menu? 2 Answers
pause timer or player using Time.timeScale 1 Answer
Timer record 1 Answer
pop up a canvas when the time is up 1 Answer