How to set up player animations correctly?

Hello Gentlemens.

Greetings everyone! I’m new here aswell as Unity for me. I want to apologize in advance for my bad English. I’m from Latvia.
Hopefuly we will understand each other.
Ok, so my situation right now: I have player with working idle, run and jump animations. My player can shoot projectiles with these animations, but i want to use correct animations for shooting porpuse. So, how to set up animations like this: run shoot in the same time and idle shoot same time. I have all the needed animations but please help me set it all up.

Regards, Rascal.

Is this a sprite animation or rigged animation?

I just used sprite animations for my game… I made animations for each condition. I have multiple attack animations. 1 for idle, 1 for walking, 1 for running.

However, if you are using the character rigging inside the game, then there are some blending options available. That’s a good bit more advanced, and not something I’ve done myself. You can find tutorials on it.

It’s a sprite animation. I forgot to mention - i’m making this 2d platformer for Android, i guess its a bit difficult to make these animations because i have left/right arrows for movement and shoot button for shooting. All i want is when player is Idle, i press shoot button - he starts idle-shoot animation, and when i start running and at the same time press shoot button - he starts run-shoot animation, but when i release shoot button and keep pushing left/right button - player only runs.
Sounds simple but i’m new to Unity.

I will appreciate any help. Thank you.

itzclay36, you have made great game! Looks like there is a lot of things that i will need for my game aswell. Be ready to answer for my questions! :wink:

Thanks.

I recommend finding some “mecanim” tutorials.

Here are ones I followed to learn about it:

https://unity3d.com/learn/tutorials/modules/beginner/live-training-archive/animate-anything

https://community.mixamo.com/hc/en-us/articles/203879268-Mecanim-Animation-Basics