- Home /
Question by
mozgovi4ok · Jun 06, 2014 at 05:21 PM ·
animationanimatorframe
Set animation frame using animator
How to set animation frame when im using animator?
ive tried this one
_animator.StartPlayback();
_animator.playbackTime = 1;
but no result
Comment
Answer by Loius · Jun 06, 2014 at 07:06 PM
It's not represented in frames, it's represented in either:
Ratio. You want frameNumber/totalFrames.
Time. You want to indicate the number of seconds at which the frame occurs.
can you say how it should be? i created 90 frames, 1 fps, and when i try to _animator.playbackTime = 45; its still 0