Stat Element UGUI
๐งพ StatElementUGUI Class
A UI element representing a stat (used in hover details).
Namespace:
Esper.Inventool.UI.UGUIAccess:publicType:classInherits:MonoBehaviour
๐ฆ Fields
Access
Field
Type
Description
public
icon
Image
Stat icon image.
public
statLabel
TextMeshProUGUI
Stat text label.
public
stat
Stat
The stat to display (hidden in inspector).
๐งฐ Methods
Access
Method
Returns
Description
public
SetStat(Stat stat)
void
Assign stat and refresh visuals.
public
Refresh()
void
Update icon, color, and label text.
Last updated