Unity - Shooting Enemies with Projectiles @pressstart6864
Unity - Shooting Enemies with Projectiles  @pressstart6864
Uploaded March 2019 | Updated September 2026, 2 weeks ago
In this video I will show you how to shoot projectiles out of a moving object.
SUBSCRIBE: 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:
patreon.com/pressstartclub

COPY & PASTE CODE FROM THIS TUTORIAL:
https://pressstart.vip/tutorials/2019/03/1/89/shooting-enemies-in-unity.html

MORE TUTORIALS:
https://pressstart.vip/unity-tutorials
Unity - Shooting Enemies with Projectiles2D Perspective Effect with an Orthographic Camera (Parallax)Unity - How To Contain RigidBodies Inside 2D CollidersA Perfect Jump in Unity - A Complete Guide#BrackeysGameJam: Day 4Super Mario - Running Tutorial in UnityUnity - How to Detect Collision in C# [Using Colliders]Unity - How to Keep ScoreUnity - Keeping The Player Within Screen BoundariesWorking with Time in UnityUnity Movement [RigidBody vs Translate]Swiping Pages in Unity
Press Start |

Unity - Shooting Enemies with Projectiles

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER