Creating a Win Screen in Unity
I have created the win screen for my game.
To do this I created a new panel under my canvas.
I then copied the menu and quit buttons from the pause menu and added them to the win screen panel. I also created the win message text.
To get the screen to appear I added a box collider 2D at the end of the level on the gate. This was a trigger that would trigger the win screen if the player had the key.
This will allow the player to win the game.