유니티 닷지 게임 제작1 닷지 프로젝트 전체 코드 유니티상에서 작동하는 간단한 닷지 게임 코드 전체 공개를 하고 이 스크립트(코드)를 어떻게 적용시키는지 그 방법을 차근히 다음 포스팅에서 공개하도록 하겠다(파이게임 포스팅때의 자료는 날아갔으니 이거로 대체한다) 다음은 모든 스크립트 코드이다. using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerController : MonoBehaviour { Rigidbody playerRigidbody; public float speed = 8f; void Start() { playerRigidbody = GetComponent(); } void Update() { float xinput = I.. 2020. 7. 9. 이전 1 다음