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

Insert Semicolon at end when i already have one?

$
0
0
i have a problem and that is that i have a semicolon at the end and unity is giving me an error saying: Assets/Scripts/scriptswitch.js(1,6): UCE0001: ';' expected. Insert a semicolon at the end. i am trying to switch scenes. this is my script(i have the correct spaces and stuff but unity is putting my script in a sentence. Sorry for the problem!): using UnityEngine.SceneManagement; function OnTriggerEnter (Col : Collider) { if(Col.tag == "Player") { SceneManagement.LoadScene("Test"); } } PLZ HEEEELLLLLLPPPPP!!!!!!!!!!! -thanks in advance

Viewing all articles
Browse latest Browse all 7934

Latest Images

Trending Articles



Latest Images