input.get axis unity 3 axis code example Example: unity input get axis float movement = Input.GetAxis("Horizontal") * speed;