// Start is called before the first frame update void Start() { SpawnRateController = FindObjectOfType <AMS_SpawnRateController>(); startingSpawn = SpawnRateController.defaultEnemySpawnRate; // 8 seconds lowestSpawn = startingSpawn * 2; // 8 * 2 = 16 seconds }
//private int currentWave = 0; // Start is called before the first frame update void Start() { activeWave = true; controller = GameObject.FindObjectOfType <AMS_SpawnRateController>(); }