Stat Element UGUI
🧾 StatElementUGUI Class
A UI element representing a stat (used in hover details).
Namespace:
Esper.Inventool.UI.UGUI
Access:public
Type:class
Inherits: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