In this video I will show you how to shoot projectiles out of a moving object.
SUBSCRIBE: https://bit.ly/2Js78lE
============
In this video, we cover:
0:58 - Importing Bullet from Photoshop
1:20 - Creating a 2D projectile prefab
1:50 - Creating a script to move the projectile towards the enemy
3:40 - Cloning our projectile prefab everytime we press the Space Bar
5:00 - Removing Enemy & Projectile from screen & loading an explosion animation
PATREON MEMBERS ONLY - DOWNLOAD ENTIRE PROJECT:
/ pressstartclub
COPY & PASTE CODE FROM THIS TUTORIAL:
https://pressstart.vip/tutorials/2019...
MORE TUTORIALS:
https://pressstart.vip/unity-tutorials