|
float h = Input.GetAxisRaw("Horizontal");
transform.Translate(Vector3.right * moveSpeed * Time.fixedDeltaTime * h, Space.World); float h = Input.GetAxisRaw("Horizontal");
transform.Translate(Vector3.right * moveSpeed * Time.fixedDeltaTime * h, Space.World); |
|