Odometer for NGUI
Add some polish and pizzazz to your game with an flexible and animated odometer.
Count up distance traveled, enemies killed or even loot earned with this flexible add-on to NGUI.
REQUIRES NGUI 3.5.5 or higher (when UIWrapContent was added). Requires NGUI examples to be in place JUST FOR EXAMPLE SCENES I INCLUDED - actual asset does not require them.
For most common uses, just drag provided Odometer into your UI Root and call either SetValue() or Increment() function(s) to have the widgit do its work!!
Custom options include:
.Color (foreground and background) options for the entire odometer and even digit-level overrides.
.Rollover option to have odometer roll to all zeros when hitting max value - OR you can have odometer "stick" at the max value.
.Automatic scaling of all elements through a single checkbox and height setting.
.Automatic re-sizing border/background
.Ability to use custom font (true type only)
.Ability to tweak "springiness" of the number rotation to make it smooth or "springy".
.Ability to customize each digit element - so as to include comma or period separators or ensure that item doesnt scroll (such as currency symbol).
Demo Video
Web Player Demos -
Generic Dynamically Generated Odometer
Custom Digit Color Change
European Currency Odometer 1
European Currency Odometer 2
Thousands Delimiter Odometer
US Currency Odometer