Hello,
In the video you write for SpawnAllEnemiesInWave the following
Instantiate(waveConfig.GetEnemyPrefab(), waveConfig.GetWaypoints()[0].transform.position, Quaternion.identity);
If you do “waveConfig.GetWaypoints()[0]
” i think you get a Transform right?
So why first get the transform and then the position, and not directly the position?
Instantiate(waveConfig.GetEnemyPrefab(), waveConfig.GetWaypoints()[0].position, Quaternion.identity);
Kind regards,
Bert.