Quantcast
Channel: Questions in topic: "error message"
Viewing all articles
Browse latest Browse all 2891

Hi! I am trying to use SceneManagement, but I keep getting errors.

$
0
0
**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!

Viewing all articles
Browse latest Browse all 2891

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>