video says with the script but it still says that there is All compiler errors have to be fixed before you can enter playmode! Also when i write rb it says the name rb does not exist in the current context. What do i do?
It says there is build errors.
idk since you didn’t show us what you did. Show us your code and show us the error so we can help you.
And remember to use code tags. Using code tags properly
Did you check to see if the next episode in this tutorial series resolved the issues you have encountered here? Most of the time in such tutorials, the presenter might make a mistake, and apologizes later while giving the solution to the problem.
Line 16, remove the ) after the 2000.
That’s an error everyone should be able to resolve. I recommend to step back and learn some basics before jumping right into game programming.Or choose a Unity tutorial that attempts to cover the important basics.
Also, please use code tags .
Read the error maybe? It’s telling you exactly what it wants.
“Brace for impact”! (sorry, tired heh).
i clicked the error and i got this c# - Compiler Error Message: CS1513: } expected - Stack Overflow but i still dont get it
You would benefit from introduction to scripting (general … Unity has beginner scripting stuff, too).
You’re missing a brace… expected ‘}’ … to match the class, I think I recall from your picture.
You would benefit from a beginning C# tutorial, not necessarily related to Unity. For example, for every “{” in your code you need a corresponding “}” to close it. That is just basic C# syntax.
Similar thing with your earlier issue. For every “(” you need a closing “)” and vice versa. Go through a beginner C# tutorial and understand what these things even mean before continuing with game making tutorials (which generally assume a basic understanding of C#).