errors in the script in unity

I wrote a script based on a video in c#, but unity gives out a lot of errors, I don't understand how to fix it, I just wanted the hero to move
4 Replies
[mg] posydomoika
I don't understand anything about c#, and I don't want to, I just want to know how to fix these errors in the future and whatever they are, and then I will write according to the manuals
Jimmacle
Jimmacle4mo ago
i mean, with that attitude there's no point in helping we help people learn C#, not fix bugs for them you have a syntax error
[mg] posydomoika
im sorry, sec I'll translate what I want to say. I want to learn the c# base so that it is more or less clear, and if something is difficult, then I will read the posts, that's what I mean by "I don't want to learn" I understand what it is, I do not know where, I recorded everything on video Sorry for the stupidity
Thinker
Thinker4mo ago
It's telling you where the errors are, on line 6 to 8 in hero.cs
public class hero : MonoBehaviour {
{
public class hero : MonoBehaviour {
{
you have one too many { here :catsip: