Question by
LordUnityMasterJr · May 10, 2017 at 01:37 PM ·
c#unity 2d
How to make a restart button?
When the player loses, a new scene is loaded called "Game Over". From this scene, a restart button must be able to load the previous scene, not a specific previous scene, but the previous scene loaded whatever that might be. Question: How do I make this restart button?
Coding language: C#
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612121646im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How can I get the player to face the direction it is going in a Unity 2D Game? 0 Answers
Unity 2D Build Error 0 Answers
How to change animator states when a key is held through a C# script for a sprite? 0 Answers
Activating multiple images under one canvas via multiple objects 0 Answers
How do I Detect if an object has made a full rotation and gradually change its color 1 Answer