Getting into C++ with Unreal Engine - Part 6 - User Interface (B)

Опубликовано: 17 Апрель 2026
на канале: GGameDev
4,799
166

This is the second part of a double episode going over the creation of UI elements in Unreal Engine,
using UMG Widgets.
It takes advantage of the opportunity to cover basic UI design and documentation as well as:
TObjectPtr,
TSubclassOf,
BindWidget,
Making C++ classes which you then subclass with blueprints,
and logging with UE_LOG, or UE_LOGFMT.

Links
Chat about gamedev on Discord:  / discord  
Project on Github: https://github.com/Ysgrathe/BuildingB...

C++ Operator Overloading: https://en.cppreference.com/w/cpp/lan...
C++ Function Overloading: https://en.cppreference.com/w/cpp/lan...

Official Unreal Documentation
TSubclassOf:https://docs.unrealengine.com/latest/...
Build Configurations Reference:
https://docs.unrealengine.com/latest/...
UUserWidget::GetPaletteCategory:
https://docs.unrealengine.com/latest/...

Chapters
00:00 Introduction
00:33 ViewMode Recap
01:48 Logging
05:07 ViewMode Widgets Base Classes
07:15 HUD Properties
07:37 TSubclassOf
08:21 Wiring Things Up
12:50 Final Testing
14:12 Summary