public void shoot(Transform firePoint) { if (readyToAttack) { currentWeaponConfig.GenerateBullet(firePoint, owner); readyToAttack = false; } }