Hello I was wondering if there is a simple way to have multiple input.
For example: I would like it so that when I hit the w key and the left shift key an animation plays.
function Update () {
if (Input.GetKey(" w + left shift"))
animation.Play("My animation");
}
I know this script is wrong just want to give you an idea of what I would like.
Thanks in advance for any help!