コード例 #1
0
 public void PerformShot()
 {
     if (gunOneGameObject.activeSelf)
     {
         gunOne.PerformShot();
     }
     if (gunTwoGameObject.activeSelf)
     {
         gunTwo.PerformShot();
     }
 }