void Disparar() { Bala bala = DespacharBalaLibre(); disparo.Play(); bala.ActivarBala(this); }
void Disparar() { GameObject obj = Instantiate(balita, this.transform.position, Quaternion.identity); Bala bala = obj.GetComponent <Bala>(); bala.ActivarBala(this); }