x


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".

more ▼

asked Dec 07 '11 at 10:58 PM

fireomega gravatar image

fireomega
356 5 7 9

Is the "Camera looking at a grey cube with writing on it" a separate scene ? And are you using C# or javascript

Dec 07 '11 at 11:21 PM funkyllama
(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

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.

more ▼

answered Dec 08 '11 at 12:45 AM

KyleHickman gravatar image

KyleHickman
66 2 2 3

How do you store the time that was on the GUI timer is basically all I'm asking

Dec 08 '11 at 07:39 AM fireomega

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.

Dec 08 '11 at 04:35 PM funkyllama
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x3669
x570
x347
x260

asked: Dec 07 '11 at 10:58 PM

Seen: 708 times

Last Updated: Dec 08 '11 at 04:35 PM