The User Interface in CrowdRunner provides essential information to the player, such as follower/enemy counts, and manages game states like the initial start screen. The UI is built using Unreal Engine's UMG (Unreal Motion Graphics) system, primarily through Widget Blueprints.

Key UI elements include:

image.png

image.png

WBP_UnitCounter

Purpose: This is a reusable Widget Blueprint designed to display a count (a number) alongside a representative icon. It's used by BP_Crowd_Player to show the current follower count and by BP_EnemySegment to show the current enemy count for that segment.

Key Variables

Key Functions

UpdateCount(NewNumber As Integer):

SetIcon(IconToShow As Texture2D):