“trible” shot

Power up time! Let’s create our triple-shot laser by dragging our pre-existing Laser prefab into the scene, duplicate and adjust them to be in the position we would like them

The lasers on the wings have the same Y-value as well

With this we could technically instantiate these lasers, but we’re going to give them a Parent object that we’re going to name “Triple_Shot”, then drag our Lasers into it. To do so, right click the Hierarchy and Create Empty and rename that “Triple_Shot” and drag the three lasers we adjusted into it: it’s more efficient this way!

Now that it’s all set-up, we’re going to drag the “Triple_Shot” into our Prefabs folder then delete it from our scene!

With that we can start writing the code for it!



Andrew Lengen

If ambition and practicality amalgamated, it would be me! I am here to climb the mountains of my ambition and catalog my journey so that someone can be changed!