* 키보드 입력 public Vector2 inputVec; void Update(){ inputVec.x = Input.GetAxisRaw("Horizontal"); inputVec.y = Input.GetAxisRaw("Vertical"); } Edit > Project Settings > InputManager > Axes ( 물리적 입력(키보드입력)을 지정된 버튼으로 연결하는 역할 30개의 버튼들이 있는데 그 중 Name 을 활용해 Horizontal, Vertical 이 있는 버튼의 입력을 가져온다. 대소문자 틀리지않도록 주의!! Input.GetAxis - 입력값에 보정이 되어 물체의 이동이 미끄러지는듯 부드럽다. 명확히 딱딱 멈추는게 좋으면 Input.GetAxisRaw 를 활용한다. * 물..