Unity Survival Shooter Game Lesson 3 Spawning Enemies - jasonweibel/HyperStream-Unity GitHub Wiki
Hyperstream : Unity Survival Shooter Game - Lesson 3 - Spawning Enemies
-
Open EnemyManager script in Visual Studio
-
Uncomment Spawn method.

-
Uncomment InvokeRepeating in Start method.

-
Switch to Unity and locate Enemy Manager game object on Main scene.
-
Add 3 Enemy Manager scripts to the Enemy Manager game object.

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



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


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


-
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)