Game Development Reference
In-Depth Information
I've preconfigured
Shop Manager
as an example. So, let us walk through what is avail-
able:
• We have the sprite and scale for the shop owner. I selected one of Greandal's
poses and scaled him appropriately. (The mayor is multitalented and also owns al-
most everything in town, including the shop.)
• I then attached the
Purchasing Section
and
Purchase Item Display
item to the
scene. We could have discovered these in the scene by the name or tag if you so
wished. There are often many ways of doing the same thing.
• Next, I set the
Item Slots
pane's
Size
to
6
and attached each of the available slots
in the shop by dragging them from the
Project
hierarchy on to the
Inspector