About 'Spawn Multiple Enemies'!

In this video (objectives)…

  1. Create EnemySpawner.cs to instantiate enemies into our scene.
  2. Craft a coroutine that spawns an enemy then waits for time.
  3. Use a for loop to continue instantiating enemies until the wave is complete.

After watching (learning outcomes)… Use a coroutine and for loop to spawn a wave of enemies.

(Unique Video Reference: 15_LD_CUD)

We would love to know…

  • What you found good about this lecture?
  • What we could do better?

Remember that you can reply to this topic, or create a new topic. The easiest way to create a new topic is to follow the link in Resources. That way the topic will…

  • Be in the correct forum (for the course).
  • Be in the right sub-forum (for the section)
  • Have the correct lecture tag.

Enjoy your stay in our thriving community!

In the EnemySpawner script I noticed you named your List waveConfigs ( [SerializeField] List waveConfigs ) but use waveConfig in your IEnumerator script and it still worked. How can that be?

Nevermind, I re-reviewed that section and now I understand :slight_smile:

Glad you solved it Mary! :slight_smile:

1 Like

Privacy & Terms