방향키1 Input 받아서 조작하기 using System.Collections; using System.Collections.Generic; using UnityEngine; public class Driver : MonoBehaviour { [SerializeField] float steerSpeed = 0.1f; [SerializeField] float moveSpeed = 0.01f; // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { float steerAmount = Input.GetAxis("Horizontal") * steerSpeed; float moveAmount =.. 2022. 6. 8. 이전 1 다음 728x90