Наследование: UnityEngine.MonoBehaviour
Пример #1
0
 void Start()
 {
     _gun = GetComponent<BaseGun>();
 }