유니티 C# 3D 캐릭터 이동, 점프 간단 구현


유니티 C# 3D 캐릭터 이동, 점프 간단 구현

코드 작성 using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerController : MonoBehaviour { public Transform player; public Rigidbody rigid; public Transform cameraArm; public float moveSpeed = 5.0f; public float mouseSpeed = 2.0f; public float jumpPower = 10f; private void FixedUpdate() { Move(); LookAround(); Jump(); OnReset(); } private void Move() { V..


원문링크 : 유니티 C# 3D 캐릭터 이동, 점프 간단 구현