StarBar
Overview
Minimal star-row utility. Enables the first N child GameObjects to visualize a discrete value (e.g., half-stars), where N = floor(value).
Public API
void SetValue(float value);
- Computes
n = Mathf.FloorToInt(value)and sets each child active ifindex < n. - Child count defines the maximum displayable stars.