- Home /
Need some help an object collider that stops a timer then displays it on another scene
I am currently working on a Co-op game and when my two players reach the end i would like for the stopwatch to stop an new scene to prompt up with the time and also asking to play again or go to main menu. i have all the levels set up i only need help with the programming, i also have the application.loadlevel(); i also have the triggers set up but not sure how i will get both objects to stop a timer that is in a different script an also print that time on another scene. how many different scripts would i need and how would i implement them to get the final time to so it is in an different scene? thanks for the help its very much needed.
Answer by Bryan 4 · May 10, 2011 at 05:20 PM
You can just make your timer object DoNotDestroyOnLoad() so when you load a new scene. it will remain and then you can use your display script to access its time value and print it.
Your answer
Follow this Question
Related Questions
Multiple Object Collider Detection to load new scene 1 Answer
Need help with game points and trigger 2 Answers
Object Carry 0 Answers
Enable objects to enter the trigger 2 Answers
Object won't collide with Player unless Player is moving 1 Answer