|
Java Code - Pick / Reset Level
[Back]
Code:
//Pick
Application.LoadLevel("Level 1"); //The ("Level 1") is the name of the Scene, you will go to.
//Reset
Application.LoadLevel(Application.loadedLevel); //Restart Level
Application.LoadLevel("Level 1"); //The ("Level 1") is the name of the Scene, you will go to.
//Reset
Application.LoadLevel(Application.loadedLevel); //Restart Level