Hi all,
I'm trying to return the length of an animation that is playing so that I can gradually increase the speed of an object as the animation plays. I found this thread when searching the forum for previous posts:
Unity: how to get the duration of an animation?
However I get an error that says "The type name 'Duration' does not exist in the type 'Animation' " when I try to use Animation.Duration. What am I missing here?