Examples
This chapter has so many new items in it that I could spend the rest of this book just showing you examples! Sadly, I can't do that, so I will show you examples that I hope will be the most useful.
Making a scroll view from a pre-existing menu
The first example we'll cover will build on the UI we have been working on. To help organize the project, duplicate the Chapter6
scene that you created in the last chapter; it will automatically be named Chapter7
. Open Chapter7
and complete the following example within that scene.
I want to be able to add more items to my Inventory Panel
and allow the player to scroll through the items. I could create a new UI Scroll View item and update it to look like my current Inventory Panel
, but that would be more hassle than it's worth. So, instead, I will convert the current Inventory Panel
to a scrollable view. After it is complete, it will look as follows:

This panel can have its view adjusted by dragging the area beside the food items. I could have added...