예제 #1
0
    public void Shoot()
    {
        //Calculate Bullet Velocity
        Vector3 bulletVelocity = fpCamera.forward * firePower;

        //pick (spawn) bullet
        bPool.PickFromPool(firePoint.position, bulletVelocity);
    }