I have a working blaster for my space shooter game and also have a simple powerup system for it that just changes the instantiated bullets when picked up. This works fine so far. However, I have a bomb and missile powerup which will also be fired by the same button from two different fire points. Since you start with just a blaster how do I go about dealing with those two fire points doing nothing every time I press fire?
It looks like its bad practice to return null values in C#. Do I have to remake my system where the weapon powerups are child objects of the player and then set them to false from the start then just make whatever I want active through the powerups? Any other options?