Skip to content

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 Value is less than or equal to Min Value, the widget keeps the range valid internally.

See also