Question by
djpiper28 · Jan 18, 2016 at 05:42 PM ·
errorerror messageuce0001
UCE0001: ';' excpected. Insert a semicolon at the end. There is a semicolon on the end
The error says: (4, 6) Please Help Thanks
//SceneManagemnet import
Using UnityEngine.SceneManagement;
//Input Checks
function OnTriggerEnter(Collider) {
if(Input.GetMouseButtonDown(0)) {
Debug.Log("Loading Scene level_selector");
SceneManager.LoadScene("load_Selector", LoadSceneMode.Single);
}
}
Comment
Best Answer
Answer by NoseKills · Jan 18, 2016 at 05:50 PM
If you are trying to write UnityScript, write 'import' instead of 'Using'. If this is C#, write 'using' instead of 'Using' and 'void OnTriggerEnter'