Ejemplo n.º 1
0
    // 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
    }
Ejemplo n.º 2
0
    //private int currentWave = 0;

    // Start is called before the first frame update
    void Start()
    {
        activeWave = true;
        controller = GameObject.FindObjectOfType <AMS_SpawnRateController>();
    }