Hey there,
I’m trying to lerp between 2 values over a specific time (using mathf.lerp and time.deltatime) - traditionally I’ve always done this in an Update function, but due to the nature of what I’m trying to do in this case, it has to be in it’s own Function
Does anyone have any ideas? To make things more simple, I want to display text on a gui.button counting down from 5 to 0 (over 5 seconds) - but this number is going to change - it may need to countdown from 3 to 0 over 3 seconds etc