I’m trying to use the Unity 2D Gamekit to create a game, and I’m trying to make an endscreen that says “You Won!” and gives an option to restart. I’ve been able to repurpose the options menu for most of it, but I don’t know how to restart the game. Is there an included method to do that? If not, how would I do it?,Hi, I’m using the Unity 2D Gamekit and am attempting to make a “You Win!” screen, with an option to restart the game. Is there a method to restart the game included? If not, how would I go about making one?
How to return to start of game using Unity 2D Gamekit.,How do I go back to the start of the game using Unity 2D Gamekit?
To my knowledge I don’t think there is a method for restarting the game in the 2D Gamekit itself but
you could try reloading the scene:
public class ReloadScene : MonoBehaviour
public void ReloadScene()
//Reloads the current scene
Then call ReloadScene() when the restart button is pressed