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 an equipment tab

This is the last step of our menu. We will create a tab with which the player can change the weapon, armor, accessory, and skill of the character, which will also update the status tab, as we can see in the following screenshot:

Creating an equipment tab

Engage Thrusters

We will start this section by adding the parameters:

  1. Go back to MonoDevelop, open Menu.js, and add the following code to it:
    //Equip tab private var r_equipBox : Rect = new Rect (237, 67, 360, 207); private var r_equipWeaponBox : Rect = new Rect (237, 280, 360, 157); private var r_statTextureEquip : Rect = new Rect (252, 81, 331, 142); private var r_skillBoxEquip : Rect = new Rect ...

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