public void Restartlevel()
{
int CurrentScene = SceneManager.GetActiveScene().buildIndex;
SceneManager.LoadScene(CurrentScene);
}
1 Like
public void Restartlevel()
{
int CurrentScene = SceneManager.GetActiveScene().buildIndex;
SceneManager.LoadScene(CurrentScene);
}