Easy Timer

GHOSTCUBE

(4)
$4
Publisher GHOSTCUBE
File size 593.45kB
Number of files 9
Latest version 0
Latest release date 2013-02-25 07:33:25
First release date 2013-02-25 07:33:25
Supported Unity versions 2018.4.2 or higher
Easy Timer counts from zero to one... so you don't have to!

If you're like me, you've written the same timer code about a billion times. Interpolating over time, checking trigger delays, waiting for timeouts...

The Easy Timer class handles this monotonous task for you! All you have to do is create an instance and supply a duration, Easy Timer does all the math and returns:
- Normalized Linear time
- Normalized Smooth interpolated time
- Normalized Fast In interpolated time
- Normalized Fast Out interpolated time
- Inverse normalized time (1-t) for each interpolation method

Easy Timer comes with Demo scene with usage examples and comments.

I've been a Unity developer for several years and, simple as it may be, this is easily my favorite helper class.

Check out the Easy Timer Demo scene

Easy Timer Documentation

Top Publisher Assets