HI,
just a question about the rules when it comes to Serializeifield, when it is private like float _xValue = 4.1f.
In the naming rules is it wrong, you have to use xValue instead of _xValue, I hope you understand.
HI,
just a question about the rules when it comes to Serializeifield, when it is private like float _xValue = 4.1f.
In the naming rules is it wrong, you have to use xValue instead of _xValue, I hope you understand.
Hi,
The variable name in the Inspector does not affect your code. Unity has got its own rules how it renames your variables to display them in the Inspector.
Is this what you wanted to know?
See also:
Okay thanks for that
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.