The game included a timer for players to complete the level as quickly as possible. To carry times across scenes and display best scores on the main menu, I implemented a singleton object that preserved variables between scene loads.
The game included a timer for players to complete the level as quickly as possible. To carry times across scenes and display best scores on the main menu, I implemented a singleton object that preserved variables between scene loads.