**I am trying to** (using Unityscript) have the level reset after my ball falls a certain distance. I was using *Application.LoadLevel* and it was working until it wasn't anymore. I got the error saying it's obsolete. Right now, with my code as is I am getting the following error : expecting EOF, found 'import'.
**I've tried_**
- switching *Application.LoadLevel* to using *SceneManager.LoadScene* -
-Adding both *using* & *import UnityEngine.SceneManagement*. Although I don't actually know where the code is supposed to go because I am a complete noob and only have the slightest clue of what I'm doing.
The blue lines represent the other spots I tried to place the code. ![alt text][1] [1]: /storage/temp/80442-capture.jpg
Any help is appreciated!
**I've tried_**
- switching *Application.LoadLevel* to using *SceneManager.LoadScene* -
-Adding both *using* & *import UnityEngine.SceneManagement*. Although I don't actually know where the code is supposed to go because I am a complete noob and only have the slightest clue of what I'm doing.
The blue lines represent the other spots I tried to place the code. ![alt text][1] [1]: /storage/temp/80442-capture.jpg
Any help is appreciated!