Raivas Gamer 6 Reputation points

Hi im a new game dev starter and visual studios and c# and i whanted to ask for help becouse i ran into a problom that i cant get pas
can someone help.

my problom is that the curly bracket dosent go where it sapose to go


Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,432 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Viorel 110K Reputation points

    It seems that you entered an if inside the Movement class, but such statements must be typed inside the member functions. For example, it can be placed in the FixedUpdate function. Try removing the '}', which is before the if, or type this 'if' inside the corresponding function.

    1 person found this answer helpful.
    0 comments No comments