You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine;using System.Collections;using UnityEngine.SceneManagement;publicclassRestartLvl1:MonoBehaviour{publicvoidIveBeenClicked(){//The scene you are loading should be included in the build settings//Example, note without the .unity on the end of the scene name
SceneManager.LoadScene("Level 1");}}
This should work!