My script is cursed


My script is cursed???
I tried to make a top down 2d movement script but visual studio keeps assigning void update parenthesis to public class and not recognizing the rest of the script . WTF?

1 Like

yeah i don’t know much about programming or game development but with my unturned modding knowledge, i can confidently say that you’ve done something wrong somewhere.

4 Likes

Line 19.
Transform variable does not exist or is not loaded from another Class.
replace transform with something like MyClass.transform.

Here is a really basic code showing how to access variables from another static class.

V%C3%BDst%C5%99i%C5%BEek

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.