Beispiel #1
0
    private IEnumerator StartWave()
    {
        yield return(new WaitForSeconds(waveDelay));

        flightController = new FlightController(ship, transform.position, Quaternion.Euler(transform.rotation.eulerAngles), instructions);
        flightController.CloneSpawnEnemyWavesSeparatedByDistance(this, enemyCount, separationDistance);
    }