Answers for "Unity c# how to restart the level"

C#
1

Unity c# how to restart the level

void RestartLevel() //Restarts the level
{
  	SceneManager.LoadScene(SceneManager.GetActiveScene().name); 
}
Posted by: Guest on September-30-2020

C# Answers by Framework

Browse Popular Code Answers by Language