To create a UI Dropdown menu like the one shown in the previous image, complete the following steps:
- Locate the dogSprites.png image provided in the Chapter7/Sprites folder of the source files of the text and bring it in to the Assets/Sprites folder of your project.
- Slice the spritesheet by setting its Sprite Mode to Multiple and utilizing Automatic slicing. When you perform the Automatic slice, set the Pivot to Bottom.
- Now, let's add a UI Dropdown to our Pause Panel. Right-click on the Pause Panel in the Heirarchy and select UI | Dropdown. Move the Dropdown upward in the Hierarchy so that it is listed right below Pause Banner.
- Adjust the size and position of the Dropdown by settings its ...