2D Toolkit Forum
2D Toolkit => Support => Topic started by: stuntboots on December 10, 2015, 06:10:09 am
-
Hiya!
I'm struggling to get the current animation's length in seconds. I use tk2dSpriteAnimator.ClipTimeSeconds, but it seems to be returning the current frame's time rather than the whole animation clip. Is there a way to get the whole animation length?
Thanks!
-
ClipTimeSeconds returns the animation clip time in seconds. If it doesn't please provide a repro case in the private support forum and I'll investigate.