- project setting -> Input Manager에서 오브젝트 조작키 설정가능 float value = Input.GetAxisRaw("단축키명"); // 긍정 +1, 부정 -1, 대기 0 float value = Input.GetAxis("단축키명"); // GetAxisRaw()는 키를 누르면 바로 1 or -1이 되지만, GetAxis()는 서서히 증가 // Movement.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class Movement2D : MonoBehaviour { private float moveSpeed = 5.0f; // 이동속도 private Vecto..