The skill widget system provides a skill dock bar with animated buttons. UCSkillDockWidget listens to UCSkillComponent::onSkillListChange and dynamically spawns UCSkillDockButtonWidget instances. Each button displays the skill icon, handles cooldown animation, pop animation and a red-cross animation on failed use. Tooltips are provided by UCSkillTooltipDockButtonWidget.
UCSkillDockWidget
Name
Description
consume
Initializes the dock: sets source actor, binds to onSkillListChange delegate
whenSkillUpdated
Rebuilds the dock by spawning a button widget per skill in the array
retrieveButtonClass
Returns the button widget class (default: CSkillButtonWidgetDefault). Override in Blueprint to customize
// UCSkillDockWidget receives data via consume:
// - object: source actor (player)
// It binds to UCSkillComponent::onSkillListChange on the source actor.
// When the skill list changes, whenSkillUpdated clears the dock panel
// and spawns one UCSkillDockButtonWidget per skill.