Space Shooter Construction Kit / Tutorial 04
This tutorial is continuing where we left off in the previous tutorial.
In the previous tutorial we have added a pickup to the scene.
In this tutorial we are going to add an enemy.
First you must open the scene Assets/Playniax/Space Shooter Construction Kit/Tutorials/Tutorial 04
Go to the Unity menu GameObject > 2D Object > Playniax > Prototyping > Sequencer > Sequencer
The sequener should now be added to the scene.
Now go to the Unity menu GameObject > 2D Object > Playniax > Prototyping > Sequencer > Spawner
The spawner should now be added to the sequencer.
After this you can add the Cube GameObject to the Prefab
list of the spawner by drag and drop.
The spawner will use the Cube as a prefab.
Before running the scene change the Counter
variable of the spawner to 10 and the Start Position
This is how it should look like:
Now run the scene.
If everything was done right you should see a maximum of 10 enemies appearing from the top of the screen.
Now have some fun a shoot those baddies.