Unity Space Shooter Lesson 3 Spawning Waves - jasonweibel/HyperStream-Unity GitHub Wiki
Hyperstream : Unity Space Shooter - Lesson 3 - Spawning Waves
Reference
Unity Tutorial - https://unity3d.com/learn/tutorials/projects/space-shooter/spawning-waves?playlist=17147
Spawning Waves
-
Open GameController script in Visual Studio
-
Uncomment public hazards variable

-
Uncomment SpawnWaves method

-
Uncomment StartCoroutine statement in Start method.

-
Switch to Unity project and locate Game Controller in Hierarchy window.
-
On Game Controller script change Hazards Size to 4

-
Change Element 0 to Asteroid 01
-
Change Element 1 to Asteroid 02
-
Change Element 2 to Asteroid 3
-
Change Element 3 to Enemy Ship
-
Play Game!
Have students change the game:
- Modify Game Controller values
- Change Spawn Wait to 0.1
- Change Hazard Count to 100
- Change Hazard Count to 10000
- Modify Player Controller Script values
- Change Speed to 1
- Change Speed to 100
- Change Fire Rate to 1
- Change Fire Rate to 0
Finished Game Controller Script Inspector Window

Attachments:
image2017-7-12_12-32-53.png (image/png)
image2017-7-12_12-33-16.png (image/png)
image2017-7-12_12-33-39.png (image/png)
image2017-7-12_12-35-16.png (image/png)
image2017-7-12_12-36-33.png (image/png)