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