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