UMG basics
In UE5, the main way to create a game UI is by using the UMG tool. This tool will allow you to make a game UI in the form of Widgets, which can be created using UMG. This will allow you to easily edit your game UI in a visual manner, through UMG’s Designer tab, while also allowing you to add functionality to your game UI through UMG’s Graph
tab.
Widgets are the way UE5 allows you to represent a game UI. Widgets can be basic UI elements such as Button elements, Text elements, and Image
elements, but they can also be combined to create more complex and complete widgets, such as menus and HUDs, which is exactly what we will be doing in this chapter.
In the following exercise, let’s create our first widget in UE5 using the UMG tool.
Exercise 8.01 – creating a Widget Blueprint
In this exercise, we will be creating our first Widget Blueprint. Additionally, we will be learning about the basic elements of UMG and how we can use them to create...