Game Development Reference
In-Depth Information
Amount");
GUI.Label(WEAPON_LABEL_RECT, weapons.guiContent,
"Text Item");
GUI.Label(ARMOR_LABEL_RECT, armors.guiContent,
"Text Item");
GUI.Label(ACCESS_LABEL_RECT,
accessories.guiContent, "Text Item");
GUI.Label(SKILL_TEX_RECT, skills.guiContent, "Text
Item");
}
10. Now, we can go back to Unity, click on
Play
, and press the
M
key to bring up our
menu window. We will see all the attributes for our character, as shown in the fol-
lowing screenshot: