public void SetQuestion(IQuestion questiontype, int qTime, Action <int, int> Result) { for (int i = 0; i < 12; i++) { Destroy(GameObject.Find("input" + i)); Destroy(GameObject.Find("output" + i)); } timeLeft = qTime; questiontype.Activate(Result); stoptimer = true; }