Ejemplo n.º 1
0
 // Start is called before the first frame update
 void Start()
 {
     fire_script_ = gameObject.GetComponent <ImAProjectile>();
 }
Ejemplo n.º 2
0
 // Start is called before the first frame update
 void Awake()
 {
     am_          = FindObjectOfType <AudioManager>();
     gun_         = gameObject;
     fire_script_ = gun_.GetComponent <ImAProjectile>();
 }