I checked the C# API references for AnimatedModel, Animation, Animation.InfoData, etc
But I can not find how to get the time of currently playing Animation.
How do I check the time of an Animation,
for example, if I have an Animation with duration of 2.0s,
and when the animation plays at 1.5s I want to trigger something.
How can I check this by script?
And if I can not access it,
What would be the best way to check if an animation is 80% played
or even 100% to check whether the animation stops playing or not?
(I know I can set an AnimEvent at the animations, but this only works for small amount of animations where you can set it by hand one by one.
But if you want to process a huge amount ot animations. It is better to check it by script instead of attaching AnimEvent for every Animations.)