- Home /
Skip animation frames
I am playing an animation that as a maximum of 600 frames. This animation is getting played on loop. My aim is to skip every 100th frame of the animation. For example, when the animation frame is at 99, it should skip 100 and go to 101, similarly if its at 199, it should skip 200 and go to 201. Now I am trying to get this attribute as displayed in the image but I seem to not access it.
How do I achieve what I want?
if(animation["MyAnim"].time == 99)
{
animation["MyAnim"].time = 101;
}
Your answer
Follow this Question
Related Questions
Why is this doing it?,why is this moving? 0 Answers
Checking animation playing in ieunmerator. Is there a better way to do this? 1 Answer
Frame Perfect Animations 0 Answers
Combine multiple animation transforms in one animation 0 Answers
How can i check if animation has finished playing if the object have no animator attached ? 1 Answer