O'Reilly logo

Unity 3 Game Development HOTSHOT by Jate Wittayabundit

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a high score menu

In this section, we will create three menu pages.

First is the game over menu, which will contain the following:

  • The final score of the player
  • The text field for the player to enter his/her name
  • The SUBMIT button to save the player's score
  • The LOCAL HI-SCORE button to see the scores from the player's local machine
  • The SERVER HI-SCORE button to see the scores from the database server
  • The RESTART button to replay the game

Second is the local high score table menu, which will contain the high score data in the scrolled area that loads the local high score data from the player machine when the player clicks on the LOCAL HI-SCORE button on the first page.

Also, the server high score table page will be similar to the local high score ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required