O'Reilly logo

Unity 4 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 the STATUS tab

In this step, we will create a STATUS page for our menu, which will show all attributes of the character, including hit points, magic points, levels, experiences, experience needed for the next level, attacks, defense, agility, intelligence, luck, and the current equipments and skills of that character, as shown in the following screenshot:

Creating the STATUS tab

Engage thrusters

We will start with assigning the STATUS parameters for our character and displaying them on the menu by performing the following steps:

  1. Let's go back to our menu script in MonoDevelop, and include variables before the Start() function as highlighted in the following code. ...

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