Skip to content

Tiled Image Meter Set Values

Set the value, value-per-icon, and max-icons settings on a TiledImageMeter.

Parameters

Parameter Description
Meter The TiledImageMeter component to update.
Value Current value to visualize, such as hearts, lives, or ammo.
Value Per Icon Amount represented by one icon, for example 1 per heart or 0.5 for half-hearts.
Max Icons Maximum number of icons to show. Use 0 for unlimited.

Notes

  • This action does not use min/max range values.
  • It is useful when your icon scale changes at runtime, for example after an upgrade that adds more hearts or pips.

See also