public void selectshotgun() { Fire_Button.shotgun = true; Difficulty.count = Difficulty.count - 2; decrement = true; Shotgun.SetActive(true); Assault.SetActive(false); }
// 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>(); }
public void selectassault() { if (decrement == true) { Difficulty.count = Difficulty.count + 2; } Shotgun.SetActive(false); Assault.SetActive(true); }