Can't get serialize field to work.

I am a beginner and am making a 2d platformer game in Unity and am currently trying to make a player movement script but [SerializeField] private float moveSpeed; and my other ones aren’t working. Can I please have some help.

In what way isn’t it working?

What do you expect to happen, and what actually happens?

Can you share the offending code?

Please use code tags:

1 Like

you know how it is supposed to show stuff under the script to increase or decrease whatever it is the script does or something. that doesn’t show up for me and i have gone through tons of forums and looked at lots of youtube videos trying to get help but nothing works for me. its supposed to look like this 6916427--811241--upload_2021-3-9_12-39-50.png
But it doesn’t show the variables for me

can you post your script where you define your fields ?

Controller and Run Speed appears in the editor ?! Did you anything else for your moveSpeed or does your script has any errors ?

sorry i just got working right now thank you anyway