Hi,
I did this exact thing the first time I tried to animate via playmaker
.
Basically there are two animation systems in unity, one is called Legacy, the other one is Mecanim.
You should use other actions for mecanim, but the more complex part is to set up the animator. This tutorial did a good job of explaining it for me in a nice simple and relatable context of a 2d platformer:
But if youre interested in my understanding of the topic, this is the basics of them, the way I wish someone had explained them to me in the beginning (but seriously, follow the above tutorial and you should grasp the basics of using the animator and the animator actions):
Legacy: you put animations in a list in the game object's inspector and then play them using code or playmaker FSMs when you need to. The main limitation (that I understand) is you have to code the changes of animation yourself and set up any variables/parameters in code/fsms for the animations to change.
Mecanim: You use the 'animator window' to set up an object's 'animator'. So you have a separate editor just for an animation FSM, there you define on which parameters the animation transitions will depend upon. Then all you have to do in code is set these parameters.
So as I said there are probably more technical differences but to summarise/oversimplify; it is just a different menu that you use and then it is just about using the actions appropriate for that menu
.
Good luck with it and I hope this helps!