How to Animate Numbers Counting Up and Down in Unity
Published: 29 Dec 2020
In this tutorial we go over how to animate text counting up or down between any 2 numbers using a Coroutine in Unity 2019.4 (or other version, 2018, 2020, 2021+ also works great!). This is a great way to animate IAP currency additions and subtractions, health, or any other common number display. We also take a look at how to format the number so it includes commas and decimals automatically.
🔶 ALL THINGS LlamAcademy now available at: https://llamacademy.dev/support including latest tutorials, courses, ways to support, and more! Check it out 🙂
👨💻 No GitHub repository for this one, but you can find all of my projects for FREE on GitHub: https://github.com/llamacademy
🏷️Save 25% on the ultimate C# IDE: JetBrains Rider with code LLAMACADEMY: https://www.jetbrains.com/store/?section=personal&billing=yearly
📚 Resources
🟠 C# Number Format Documentation: https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-numeric-format-strings
Some links may be affiliate links, which at no additional cost to you, gives me a small portion of the purchase.