목록2023/08/29 (1)
아카이브
HeroShooter 적이 플레이어 추적
플레이어 using System.Collections; using System.Collections.Generic; using UnityEngine; public class Player2 : MonoBehaviour { [SerializeField] private float moveSpeed = 2f; [SerializeField] public float turnSpeed = 50.0f; private Rigidbody rBody; private Animator anim; // Start is called before the first frame update void Start() { this.rBody = this.GetComponent(); this.anim = GetComponent(); } // ..
유니티 심화
2023. 8. 29. 18:27