コード例 #1
0
 public static void PlayerShoot()
 {
     if (bulletCount >= 3)
     {
         playerShotgun = true;
         AiActions.AiActionControl();
     }
     else if (bulletCount >= 1)
     {
         playerShoot = true;
         AiActions.AiActionControl();
     }
     else
     {
         sfxEmptyMag.Play();
     }
 }
コード例 #2
0
 public static void PlayerBlock()
 {
     playerBlock = true;
     AiActions.AiActionControl();
 }
コード例 #3
0
 public static void PlayerReload()
 {
     ++bulletCount;
     playerReload = true;
     AiActions.AiActionControl();
 }