- create an empty game object add child the score text to it
- create 2 new gui texts one for restart and one for game over and adjust the text and move them into the center of the screen
- make sure they are a child of the empty game object
- update the game controller code so it now looks like this
- then in unity add refferences to the text objects in the script
- open the destroy by contact script and add the new lines of code in so it looks like this
Friday, 6 March 2015
Interactivity - Ending the game
Labels:
Interactivity
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment