- Home /
Question by
jjkiii · May 31, 2017 at 01:40 AM ·
animationtimenormalized
Animation.NormalizedTime is not working
When the animation gets to 0.2 in normalized time it doesnt stop like it should given the code, is it something to do with the code? However it works when I have 0.2f replaced with 0. Strange...
if (Menu.GetComponent<Animation>()["Armature|PushTop"].normalizedTime == 0.2f)
{
Menu.GetComponent<Animation> ()["Armature|PushTop"].speed = 0;
}
Comment
Your answer
Follow this Question
Related Questions
normalized time always greater than 1 on non-looped animations. 1 Answer
Can I make animations snap to a frame? 1 Answer
timer that can be reset 1 Answer
Animation Time 1 Answer
Get time when the animation starts in Animator Controller 1 Answer