I need to play an animation every time you press the ‘s’ key, but I need to play 4 animations using the same ‘s’ key. How can you do this? This is what I have so far:
function Update()
{
if (Input.GetKeyDown("s"))
{
animation.Play();
}
}
This works fine, but I need it so I can play three more animations using the same key. How?