changed the countdown component to be useful for any counting/timer operation by supporting float parameters
fully ensuring backwards compatibility (as JSON auto converts ints to float)
added optional interval component to seperately control update rate from step amount
added optional destroyIfDone parameter (defaults to true to maintain old behaviour), allows keeping the timer text arround after its finished counting
added formatting option to be passed into the ToString() function
these small changes allow the countdown component to be used for new things while maintaining complete backwards compatibility. here are some examples:
Legacy Countdown Style
Adding faster Update interval & decimals!
Practical Use case, see your points going up
Hehe.gif
Improving the Countdown Component
changed the countdown component to be useful for any counting/timer operation by supporting float parameters fully ensuring backwards compatibility (as JSON auto converts ints to float) added optional
interval
component to seperately control update rate from step amount added optionaldestroyIfDone
parameter (defaults to true to maintain old behaviour), allows keeping the timer text arround after its finished counting added formatting option to be passed into the ToString() functionthese small changes allow the countdown component to be used for new things while maintaining complete backwards compatibility. here are some examples: Legacy Countdown Style Adding faster Update interval & decimals! Practical Use case, see your points going up Hehe.gif