Skip to main content

TextBlock_StatName

A TextBlock_StatName is a TextBlock widget that implements the IStatWidgetInterface and displays the Display Name of a Stat.

Dropping a TextBlock_StatName in your Blueprint Widget will allow you to specify its Stat Class.

Initialize

TextBlock_StatName is using the CDO of the Stat, so it doesn't need to be initialized, nor does it need a StatsComponent.
However, it implements the IStatWidgetInterface, so calling InitializeWidgets_FromStat() will override the Target Stat Class.
See Initialize a Stat Widget.