.
This commit is contained in:
parent
246ee42ca2
commit
b0f850f6b2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user