I know this is probably a very basic question but I can't figure out how to simply increase the value of a variable over time.
So for example, if I have:
var counter:int = 0;
and I want to increase it to a new value of 10 over 5 seconds, how would I do that?
Thanks!