As a kinda experienced programmer, I too found the Quiz game part hard to follow, especially during the script part. I think my problems might be related to not strictly copying the code from the video.
Maybe subconsciously I am not liking the code I am given. It makes the code hard to follow.
To save time debugging (going back and forth between script and UI), I rewrote the code.
Using a more OOP approach for the Timer class really helps, the timer should know nothing but time left and duration. The timer should not have anything to do with “shouldLoadNextQuestion”. It just doesn’t make sense to me. Maybe in the game dev world it does make sense, in that case I will accept it. I am new to game dev.
Handle the game flow in Quiz.cs. Finally everything works and I can move on to next video