Guys I need help, I’ve been working on my game for hours. And I got stuck with this problem.
Ive writing my script, which is
public float velocity = 1;
I’m very sure that I finished it correctly because I already check it for errors and it says none. But when I look it on the inspector, I couldn’t find the velocity which should be in the script.
Tyia.
eses
May 10, 2020, 7:47pm
2
@joms102214
You don’t even have a class?
Or did you just post a line of your code?
There is nothing wrong in that line itself… it must be something else.
I have class sir, actually I put that line below the class and before the void start
Hello
Csn you show us the whole class?
Christoph
eses
May 11, 2020, 10:46am
5
@joms102214
“…I put that line below the class and before the void start”
You are not helping yourself by not adding the code here. You can do it by using code tags:
If you see someone who needs to know about code tags, please link them to this post:
Please use code tags when posting code.
You can “tag” your code by typing [984347--130826--Screenshot 2015-03-16 10.33.58.png] around your code.
There is no overt “Code” tag button that automatically tags a selection as code.
That being said, however, we can Insert code directly into the post using the “Insert Code” button:
[image]
This will bring up an “Insert” window were we can paste our code and choose…
It must be something else, and if you don’t show the code, it is hard to help.
1 Like