In the lecture Gary sets some code:
quiz.gameObject.SetActive(true);
endScreen.gameObject.SetActive(false);
and by way of explanation says this sets the gameobject to true / false. But what is the gameobject? I’ve had a look in quiz.cs and the only gameobject set up there is the answerButtons variable. I imagine Gary means the quiz canvas - but how does Unity/C# know to interpret gameobject as that particular element?
K