コード例 #1
0
    public void Shoot()
    {
        PlayerBullet bullet = PoolManager.instance.GetPlayerBullet();

        bullet.transform.position = firePoint.position;
        bullet.gameObject.SetActive(true);
        bullet.Launch();


        //카메라 흔들림 처리
        camshake.Shake(camShakeAmt, camShakeLength);

        //효과음 출력
        audioManager.PlaySound(shotSound);
    }