private void Spawn() { Enemy enemy = Instantiate(enemyPrefab, spawnPos, Quaternion.identity) as Enemy; lastSpawn = Time.time; toSpawn--; towersTargeter.AddEnemy(enemy); }