Now we know all sorts of techniques for laying out our UI elements. The information covered in this chapter, and the last one, has provided enough tools to create almost any UI layout that you can imagine.
In this chapter, we discussed the following topics:
- Using Layout Group components to automatically space, position, and align a group of UI objects
- Using the Layout Element component, the Content Size Fitter component, and Aspect Ratio Fitter component to resize UI elements
- How to set up a horizontal HUD selection menu
- How to set up a grid inventory
In the next chapter, we will learn how to access UI components via code and how to use the Event System to allow the player to interact with the UI objects.