Hi Everyone,
I’m expanding Project Boost to include a full game loop. However, I’ve encountered an issue.
The game now includes a dialogue system (canvas) that displays at the beginning of each level. When the player dies, the level reloads but so does the dialogue system. For context, the dialogue system uses a simple canvas with a typing effect.
The functionality I am aiming for is to have the dialogue display once on the initial scene load. If the player crashes and the level reloads, it will not display again.
Is the correct solution to use a singleton? Or, is there a more appropriate way to disable the dialogue when the scene reloads?
I’m happy to share more details if needed. Thank you in advance if you are able to assist me in resolving this issue.