This commit is contained in:
LeeJaeHyun 2024-09-11 14:07:21 +09:00
parent 76ea3dc995
commit 246ee42ca2

View File

@ -14,8 +14,9 @@ public class PlayerController : MonoBehaviour
void Update() void Update()
{ {
// transform.position += new Vector3(0, 0, 1) * 0.01f; h = Input.GetAxis("Horizontal");
// transform.position += Vector3.forward * 0.01f; Debug.Log("h=" + h);
transform.Translate(Vector3.forward * 0.01f); transform.Translate(Vector3.forward * 0.01f);
} }
} }