This Game is a 2D shooter.
To make this better, we need more type of “fire”!
So, why not create a Triple Shot?!
Triple Shot is a classic in this type of game.
How can we made it?
First, to shoot Triple Shot, we have to instantiate three Laser and not only one.
Said that, we create it.
We take Laser prefab, drag it in the Scene, duplicate it and set the position of every Laser.
With Laser highlighted, we press CTRL+D to duplicate it
And we position them in the right place
This is my final result
Now, we have create Triple Shot, how can we “shoot it”?
We can Instantiate three times every time, but is not the best thing to do.
Is better create a CONTAINER for Triple Shot, and make every Laser be a CHILD of that object.
We create an Empty GameObject and call it Triple shot
Since we need to instantiate from our Ship, I set the empty game Object exactly above our ship, and then I added the Lasers as children
Then we make Triple Shot a Prefab
My final result is something like this
In the next part we create the logic in code to fire Triple Shot!