public void Shoot() { if (Input.GetKeyDown(KeyCode.X) && !isWerewolfState) { if (playerItems.CanShoot()) { PoolShoot(faceDirection); photonView.RPC("RPC_PlaySound", RpcTarget.All, "CrossBowFire"); } } }
public void Shoot() { if (Input.GetKeyDown(KeyCode.X) && !isWerewolfState) { if (playerItems.CanShoot()) { PoolShoot(faceDirection); photonView.RPC("RPC_PlaySound", RpcTarget.All, "CrossBowFire"); } } }