Game Development Reference
In-Depth Information
Objective complete - mini debriefing
We just created the
Item
,
ItemsContainer
, and
SkillsContainer
classes to con-
tain our items and skills information, which will be shown on the equipment box. All these
classes will be used in the next step to create the item's scroll view. Then, in the
Start()
function, we initialized items, equipments, and skills. In this function, we also set the
equipment to the default state, which is the
UNEQUIP
state.
Next, we created the
StatusWindow()
function to show the
STATUS
page when the
players see our menu when they first click on the
STATUS
tab. We also created a
Check-
Max()
function to make sure that the number of the character attributes is not over or un-
der the limit.