- Home /
This question was
closed Feb 23, 2018 at 06:26 PM by
pako.
Question by
NoobCoder1 · Feb 23, 2018 at 06:14 PM ·
c#application
Application.loadLevel doesn't work, or at least give me a green squiggly line. (Corrected re-post)
This is the specific line of code. Note that I had posted a question similar to this earlier, but I posted application.loadScene, when I mean loadLevel.
void Update () { if (restart) { if (Input.GetKeyDown(KeyCode.R)) { Application.LoadLevel(Application.loadedLevel); } } }
Comment
@NoobCoder69 edit your original question, ins$$anonymous$$d of posting a duplicate question.
Just click on the cog icon at the top right of your question and select Edit.
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Automatic GUI Creation When players are Added. 1 Answer
Menu on Android Application 1 Answer
Application.LoadLevel doesn't load Custom Package in the EXE 0 Answers