added timer that persists through scenes and pauses when in menu and cutscenes. totalTime is how much time is given to the player for the good ending. timeRemaining and countdownTimer will update itself depending on totalTime. They are set as visible for debugging purposes for the design team. timeRemaining and countdownTimer are both set as sliders to make it easy for the design team to assess it visually. Although sliding countdownTimer will have no effect, they can manipulate it via the timeRemaining timer which will change the countdownTimer in turn. I also added a clock which starts at 8 AM and ends at 8 PM. The speed of the passage of time will change depending on the totalTime given at the start. I don't know what assets the art team has so I just debug logged the hour and minute not seconds or am and pm. But if you want it, I can easily add it in. Just let me know.
added timer that persists through scenes and pauses when in menu and cutscenes. totalTime is how much time is given to the player for the good ending. timeRemaining and countdownTimer will update itself depending on totalTime. They are set as visible for debugging purposes for the design team. timeRemaining and countdownTimer are both set as sliders to make it easy for the design team to assess it visually. Although sliding countdownTimer will have no effect, they can manipulate it via the timeRemaining timer which will change the countdownTimer in turn. I also added a clock which starts at 8 AM and ends at 8 PM. The speed of the passage of time will change depending on the totalTime given at the start. I don't know what assets the art team has so I just debug logged the hour and minute not seconds or am and pm. But if you want it, I can easily add it in. Just let me know.