diff --git a/Assets/02_Scripts/PlayerController.cs b/Assets/02_Scripts/PlayerController.cs index d0e47fc..ee32d63 100644 --- a/Assets/02_Scripts/PlayerController.cs +++ b/Assets/02_Scripts/PlayerController.cs @@ -14,7 +14,7 @@ public class PlayerController : MonoBehaviour void Update() { - h = Input.GetAxis("Horizontal"); + h = Input.GetAxis("Horizontal"); // 1차원 연속값 -1.0 ~ 0.0 ~ +1.0 Debug.Log("h=" + h); transform.Translate(Vector3.forward * 0.01f);