I am new to unity as to i have just recently downloaded it for a class i am taking in high school. I am messing around with my own project but it seems i cannot code movement for every script i make or watch videos on errors pop up for example CS1022.
If you do not put all of the right symbols like curly braces { }
and parentheses ( )
etc… in the correct places in your code, it will not compile, which means the computer can’t read your code.
C# is very forgiving when it comes to spacing and formatting things, but there is no room for “close enough” when it comes to using the correct symbols and operators. It simply has to be perfect or the computer can’t read it. Try to pay a bit more attention to these details when you are writing your code. if you think you’ve done everything right, feel free to paste your code here and we can help you.
Also, if you do share code here on the forums, please use code tags to properly format it as described in this link . Also please include the full error text of any error you get, including the line numbers at the end!
Nobody memorizes errors. Try a few more tutorials. We know it is possible to move things back and forth in Unity.
If you truly get stuck come back here with very specific questions.
How to report problems productively in the Unity3D forums: