“This sword inflicts 3 to 18 damage…."
The idea of a range of values between a minimum and a maximum is integral to many different game mechanics, particularly when random numbers or procedural content is involved. Ranges are also used for all sorts of visual transitions--modifying the scale, color, or position of an image over time, for example.
The WMC Ranges library provides a flexible and easy-to-use toolkit for adding ranges to your Unity game objects and modifying them within the editor:
- Min & Max values on a single line in the Inspector window
- Tons of ranges helper functions (clamp, random, and more!)
- Includes easing functions
- Support for int, float, byte, double & color ranges
- Fully commented (Doxygen notation).