void FixedUpdate() { if (Input.GetKey(KeyCode.LeftArrow) || Input.GetKey("a")) { Player.Move(-1); } else if (Input.GetKey(KeyCode.RightArrow) || Input.GetKey("d")) { Player.Move(1); } }
void FixedUpdate() { if (Input.GetKey(KeyCode.LeftArrow) || Input.GetKey("a")) { Player.Move(-1); } else if (Input.GetKey(KeyCode.RightArrow) || Input.GetKey("d")) { Player.Move(1); } }