Esempio n. 1
0
    private void Spawn()
    {
        Enemy enemy = Instantiate(enemyPrefab, spawnPos, Quaternion.identity) as Enemy;

        lastSpawn = Time.time;
        toSpawn--;
        towersTargeter.AddEnemy(enemy);
    }