I’m not very good at scripting and i need to know how i would make the scene reset it self when I press the R button. HOW DO I DO THIS?
Simply put
if (Input.GetKeyDown(KeyCode.R))
Application.LoadLevel("SceneTitle");
if(input.GetKeyDown(varKeyInput)
{
Application.LoadLevel (Level);
}
public Keycode ResetKey = Keycode.r;
public string SceneName = “Input Scene”;
//wrote this in the forum not mono so there may be some errors
void Update(){
if(Input.GetKeyDown(ResetKey)){
Application.LoadLevel(SceneName);
}
}