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

Game over-Wrapping it up

In this chapter, we just created a nice menu, which has the feature for an RPG game menu. This menu can move around the screen, and we can change the equipment of the character, too. We used a GUI class, GUI Skin, and OnGUI function to create this menu. In the GUI class, we used GUI.window to create our main menu, GUI.box to create the background box area, GUI.DrawTexture to show our character graphics, GUI.Button to create a button, GUI.ToolBar to create a tab button, GUI.SelectionGrid to create a list of clickable items, GUI.BeginScrollView, and GUI.EndScrollView to create a scrolling area, and last we also used GUI.Label to create a text label. We also used GUIContent to contain the information of our button or label. ...

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