Ejemplo n.º 1
0
 void Start()
 {
     // explosionSound = (AudioSource)GameObject.Find("explosion sound").GetComponent<AudioSource>();
     powerUpController = GameObject.Find("character").GetComponent <powerUpPlayer>();
 }
Ejemplo n.º 2
0
 // Start is called before the first frame update
 void Start()
 {
     attackTimerReset  = attackTimer;
     powerUpController = GetComponent <powerUpPlayer>();
     // explosionSound = (AudioSource)GameObject.Find("explosion sound").GetComponent<AudioSource>();
 }