Missile Launch!- Game Dev Series 51

Objective: Create homing missile.

Missile script

First we need to create a new gameobject as our missile. With every components needed and create a new script.

Player script function

Back to Player, we need to add the function to shoot these missile. With this special weapon, I will use “F” key as launch key.

I also update the missile counts on UI.

A passionate gamer whose goal is to work in video game development.