- Home /
Animation Clip doesn't update while in play mode.
I have my main character able to change items in his hand. The items are gameObjects on their own and I just put them inside the parent gameObject "Item". For a lance as an example, the hierarchy would go like this: player > Item > lance. Now, in some of my animations I need some item sprites to change their sprite. For example, my IdleLeft animation has to change the sprite image of the shield only when it has a shield.
.
When i hit play mode with something that isn't a shield, the idleLeft animation plays fine and just ignores the parts of the shield. The problem I have is that when I put a shield while in play mode, my IdleLeft animation doesn't detect that now I do have a shield and it does not change the sprite.
.
Is there some way I could do this without having to do a separate Idle animation for the player with each item?
Thanks.
Your answer
Follow this Question
Related Questions
Is there a way to abstract sprite from animation clip? 0 Answers
Lag in animation at first playing 1 Answer
End of animation with animator. 0 Answers
SetCurve not working for me. 1 Answer
Exclude Variable from Add Property in Animation window 0 Answers