Unity Survival Shooter Game Lesson 3 Spawning Enemies - jasonweibel/HyperStream-Unity GitHub Wiki

Hyperstream : Unity Survival Shooter Game - Lesson 3 - Spawning Enemies

  1. Open EnemyManager script in Visual Studio

  2. Uncomment Spawn method.

  3. Uncomment InvokeRepeating in Start method.

  4. Switch to Unity and locate Enemy Manager game object on Main scene.

  5. Add 3 Enemy Manager scripts to the Enemy Manager game object.

  6. Set the enemy of the first Enemy Manager script to ZomBunny, spawn time = 3, spawn point size = 1, element 0 = ZomBunnySpawnPoint

  7. Set the enemy of the second Enemy Manager script to ZomBear, spawn time = 3, spawn point size = 1, element 0 = ZomBearSpawnPoint

  8. Set the enemy of the second Enemy Manager script to Hellephant, spawn time = 15, spawn point size = 1, element 0 = HellephantSpawnPoint

  9. Completed Enemy Manager Game Object

Attachments:

image2017-8-21_16-27-59.png (image/png)
image2017-8-21_16-28-12.png (image/png)
image2017-8-21_16-28-27.png (image/png)
image2017-8-21_16-28-42.png (image/png)
image2017-8-21_16-28-47.png (image/png)
image2017-8-21_16-28-54.png (image/png)
image2017-8-21_16-29-10.png (image/png)
image2017-8-21_16-29-16.png (image/png)
image2017-8-21_16-29-30.png (image/png)
image2017-8-21_16-29-42.png (image/png)
image2017-8-21_16-30-11.png (image/png)