Game Development Reference
In-Depth Information
Objective complete - mini debriefing
Basically, what we have done in this project is we have created the custom GUI skin to use
for our menu. First, we tell the GUI that we want to use the font name Federation Kalin as
our default font for this GUISkin by setting up the Font type at the first line of the skin's
inspector. Then, we changed all the default skin textures to use our custom UI graphics
from the UI folder by setting up all the necessary properties and parameters in the Box ,
Label , Window , Horizontal Scrollbar , Horizontal Scrollbar Thumb , Horizontal
Scrollbar Left Button , Horizontal Scrollbar Right Button , Vertical Scrollbar , Vertical
Scrollbar Thumb , Vertical Scrollbar Up Button , and Vertical Scrollbar Down Button
styles. Then, we created six Custom Styles Tab Button , Exit Button , Text Item , Text
Amount , Selected Item , and Disabled Click , which will be used for scripting in the next
section.
Note
The Custom Style feature is basically GUIStyle that we can add to GUISkin . This style
allows us to create a custom style that will act differently from the default styles ( Box , La-
bel , Window , and so on) in this GUISkin .
Search WWH ::




Custom Search