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

Errors asking for Semicolons in strange places

$
0
0
When I put the line of code var Sprite[] sprites = Resources.LoadAll("SpriteSheet"); in my start function, it throws the error: Assets/Contoller.js(40,21): UCE0001: ';' expected. Insert a semicolon at the end. and Assets/Contoller.js(40,19): UCE0001: ';' expected. Insert a semicolon at the end. I took this line of code for the sprite loading solution over here http://answers.unity3d.com/questions/576153/loading-a-sprite-unity-43-in-resource-folder-and-s.html So I have no idea why it wont work for me. Why does it interpret this as needing semicolons?

Viewing all articles
Browse latest Browse all 7934

Trending Articles



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