BrookDaCow BrookDaCow - 9 months ago 49
Javascript Question

How do I change scenes with JavaScript on click? (Unity5)

I just want to know how to change to a different scene in Javascript when I click the mouse.
'Application.LoadLevel' is apparently now obsolete.
Please as simple a script as possible because I really can't grasp the advanced stuff and they usually end up with some sort of error that I'll have to ask about.


The docs cover this quite well.

Use SceneManager.LoadScene