Image Sprite Meter Set Values
Set the min, max, and current value on an ImageSpriteMeter.
Parameters
| Parameter | Description |
|---|---|
| Meter | The ImageSpriteMeter component to update. |
| Min Value | Minimum value that maps to an empty meter. |
| Max Value | Maximum value that maps to a full meter. |
| Value | Current value to visualize after updating the range. |
Notes
- This is useful when the meter range changes at runtime, for example after upgrading max health or stamina.
- If
Max Valueis less than or equal toMin Value, the widget keeps the range valid internally.