반응형
유니티 3D 꿀팁
-
유니티 무기 바꾸기 무기 교체 꿀팁카테고리 없음 2021. 8. 25. 11:41
https://youtu.be/Q2hV_J7ziuk ManagerWeaponChange.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class ManagerWeaponChange : MonoBehaviour { private ManagerWeapon m_Weapon; public Transform pivotR; private int indexPreviousWeapon; // Start is called before the first frame update void Start() { m_Weapon = GameObject.Find("ManagerWeapon").GetComponent(); Ga..