Skip to content

Stat UI

The Stat UI component allows you to display the runtime information about a specific target's Stat. To create one, click on a game object's Add Component button and navigate to Game Creator → UI → Stats → Stat UI.

Stat UI

Besides the Target and the Stat, all fields are optional and all that needs to be done is to drag Text and Image components to the corresponding fields.

Stat UI

For example, to display the Name of a Stat, drag and drop the Text component onto the Name field and it will automagically update its content, even if the targeted game object changes.

The Value field displays the final value of the Stat, Base displays its base value and Modifiers displays the amount that the Stat Modifiers add or subtract. The Ratio Fill image can be used to display the final value as a fill ratio, and the Active If Modifiers and Active If Not Modifiers game objects are activated depending on whether the Stat currently has any modifiers applied.