a) Create a new game object named "projectile" with these components
b) Set the gravity scale on the rigidbody2d to 0
c) Download this sprite, attach it to your sprite renderer, and change the color to your preference.
d) Add a polygon collider to your projectile object
e) Create a prefab from this gameobject by dragging it into your files
f) Delete the projectile from your hierarchy
a) Create a new empty gameobject named "fire point"
b) Parent this gameobject to your player
c) Position the fire point to where you want your projectiles to be instantiated from
a) Define the variables needed to instantiate a projectile
b) Add in the code to your Update loop
a) Drag and drop your fire point gameobject into the Fire Point field on your player controller
b) Drag and drop your projectile prefab form your files into the Projectile Prefab field on your player controller
c) Set your speed variable in your player controller
a) Put your projectile prefab on its own layer called "Projectile"
b) Go to Edit > Project Settings... > Physics 2D
c) In the layer matrix, uncheck the box where the player layer and the projectile layer meet