Skip to content

Sprite Meter Set Values

Set the min, max, and current value on a SpriteMeter.

Parameters

Parameter Description
Meter The SpriteMeter 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.
  • Use this to keep world-space sprite meters in sync with changing gameplay values.

See also