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