public void Verify3E() { if (!Timer.gameEnded && !EquationControl.verified3 && !EquationControl.controlLoss) { if (EquationControl.n6 == EquationControl.CorrectInts[2]) { Bad3.SetActive(false); Good3.SetActive(true); FindObjectOfType <SoundManager>().PlaySound("success3"); EquationControl.score++; EquationControl.verified3 = true; } else { FindObjectOfType <SoundManager>().PlaySound("incorrectanswer"); Bad3.SetActive(true); } } }