UMG
As mentioned in the previous chapters, UE4 has a very powerful tool that helps the users to create and handle all the UI elements of a game: Unreal Motion Graphic (UMG).
At the core of UMG are Widgets, which are a series of premade functions that can be used to construct your interface (buttons, checkboxes, sliders, progress bar, and so on). They can be edited in a specialized Widget Blueprint, which is divided into two tabs for construction: a Designer tab for the visual layout of the interface and a Graph tab that provides the functionality behind the Widget.
Widget Blueprint
The main tool when talking about UMG is the Widget Blueprint. Let's take a deeper look at it:
- Menu bar: On top of it we find our familiar menu bar. It is the same menu bar that we can find in any Blueprint class.
- Tool bar: This is a simplified version of the Blueprint class toolbar from where you can save, compile, and play your game.
- Editor Mode: This is on the right-hand side of the toolbar and it switches the...