diff --git a/Assets/02_Scripts/PlayerController.cs b/Assets/02_Scripts/PlayerController.cs index a7bbd60..d0e47fc 100644 --- a/Assets/02_Scripts/PlayerController.cs +++ b/Assets/02_Scripts/PlayerController.cs @@ -14,8 +14,9 @@ public class PlayerController : MonoBehaviour void Update() { - // transform.position += new Vector3(0, 0, 1) * 0.01f; - // transform.position += Vector3.forward * 0.01f; + h = Input.GetAxis("Horizontal"); + Debug.Log("h=" + h); + transform.Translate(Vector3.forward * 0.01f); } }