Animation with extra sprites?

Hello! I’m trying to make some animations at unity 2D. I have already rigged my character in PSB and already done the animations.

The issue is, for example, that I want to make a character sleeping and add a ZZZ above it, or touch a plug and surround the character with thunders moving. So I want to know if its a way that I can add extra sprites in the animation window to add this effects?

Thanks in advance.

The animator can animate anything in the hierarchy of the object it’s put in, so you can put objects (like a few Z’s) as children in the hierarchy and animate them from the character’s animation. You can also enable/disable them with keyframes.

Yes you can make the extra object child component and animate the with respect to parent. And make them appear according to you requirement or you can do one more thing make changes at runtime by writing a script also.

Thanks for the info. I just have a last question. If I attached many sprites to my player object, even if they are not visible, those sprites won’t consume resources all the time? or only when they are active?

thanks!

they are not rendered, yet collisions against them are still checked.
Here’s a list of other things