Closed maccxs closed 4 years ago
I really like the transparent canvas idea that I introduced for levelgethome. If a base class handles the button script for the canvases, things like MainMenu, Retry, Continue (depending on arrray of levels) have to be handled only once and we do not clutter unity with screen_fail, screen_succ, etc.
If the player hits the end of the level but fails for some reason, we should have the same fail screen for all levels. Then in this screen, the user can select to go back to main menu or press the retry button. The Retry calls LoadScene(scenearray[current-1]); so the previous scene. This is - of course - best possible when we have an array that manages the scenes. So very much dependent on issue #87