BCE0044: expecting ''', found '\r'.
Hi guys, i have everytimes this problem..! Im trying to do a MainMenu, and when i script the ''Start the Game'' button, this does'nt work. I see the same problem with other people, but the answer doesn't work with me.. The problem is at the 3 line, help me please :(
1. #pragma strict
2. function START_THE_GAME () {
3. Application.LoadLevel'(*First level*);
}
Hi @perchik i see that's you fixed a problem like this, can you help me please? :(
Answer by Toothless_ · Aug 13, 2016 at 10:38 PM
In line 3 it should be
Application.LoadLevel("First Level");
What you have done is added a single quote before the brackets and used a * instead of double quotes
I tried it, but when i did that, i had again a different problem, but this time it was Assets/$$anonymous$$ain$$anonymous$$enu.js(4,13): BCW0012: WARNING: 'UnityEngine.Application.LoadLevel(String)' is obsolete. Use Scene$$anonymous$$anager.LoadScene
I don't know what do with that #Toothless_ :(
Hi #robertbu and #Landern i see that you were great with scripts, so i call you to help me please :( It's a really little script but i don't know what do,i think i have to import UnityEngine.Scene$$anonymous$$anagement; and change application.LoadLevel with Scene$$anonymous$$anager.LoadScene, but when i do that the UnityEngine.Scene$$anonymous$$anagement; doesn't import, i don't understand, so i need your help, thanks :(
Your answer
Follow this Question
Related Questions
How do i fix this error? Cannot implicitly convert type `Sprite' to `UnityEngine.Sprite' 1 Answer
Getting weird error message!?!?!? 1 Answer
(31,16): error CS1525: Unexpected symbol `(', expecting `)', `,', `;', `[', or `=' 2 Answers
Object reference not set to instance for my timer and my text 0 Answers
Please Help With Script 1 Answer