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