There are many ways to shoot a projectile in Unity. Most of the time you will need to resolve these questions:
- What command or button is doing the firing?
- What other limitations are there on the firing? Such as limited ammo, delay between shots, etc
- Make a prefab bullet
- Bullet starting position, rotation and direction it will move
- How will the bullet move? With a rigidbody?