private void BeginFire()
 {
     selectedWeapon?.BeginFire(projectileSpawnpoint);
 }