Fade to black on player death.

Screen fades to black with brief message before returning to the main menu on player death.
Oubliette cutscene
Canvas setup.
Fade_To_Black_img for the Canvas.
Text setup.
Game hierarchy window.
Oubliette timeline.
Variable assignment in Player script.
OnTriggerEnter2D method in Player script.
Green frames show the Box Collider 2Ds for the Oubliettes in the game.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store