void Start() { powerupList = new GameObject[0]; amountPerWave = 2; spawner = GameObject.FindWithTag("PowerupSpawner").GetComponent <powerupSpawner>(); }
void Start() { spawnedEnemies = 0; spawnedFractalEnemies = 0; directions = FindObjectOfType <DirectionSpawner>(); spawner = GameObject.FindWithTag("PowerupSpawner").GetComponent <powerupSpawner>(); wave = 0; increment = 1; //Initilalize timer as spawn time (e.g., 30 sec), counts down from there timer = 0; }
void Start() { powerups = GameObject.FindWithTag("PowerupController").GetComponent <PowerupController>(); spawner = GameObject.FindWithTag("PowerupSpawner").GetComponent <powerupSpawner>(); }