コード例 #1
0
 public void selectshotgun()
 {
     Fire_Button.shotgun = true;
     Difficulty.count    = Difficulty.count - 2;
     decrement           = true;
     Shotgun.SetActive(true);
     Assault.SetActive(false);
 }
コード例 #2
0
 // Start is called before the first frame update
 void Start()
 {
     decrement = false;
     Assault.SetActive(true);
     Revolver.SetActive(false);
     Shotgun.SetActive(false);
     animator = panel.GetComponent <Animator>();
 }
コード例 #3
0
 public void selectassault()
 {
     if (decrement == true)
     {
         Difficulty.count = Difficulty.count + 2;
     }
     Shotgun.SetActive(false);
     Assault.SetActive(true);
 }