VisualElement that displays a stat icon and text for hover details.
Namespace: Esper.Inventool.UI Access: public Type: class Inherits: VisualElement
Esper.Inventool.UI
public
class
VisualElement
iconElement
Displays the stat’s icon.
statLabel
Label
Displays the stat’s text/value.
stat
Stat
The stat being represented.
StatElement(Stat stat)
Initialize UI elements and set the stat.
Refresh()
void
Update icon visibility, tint, and label text based on the current stat.
Last updated 4 months ago