- Home /
Question by
Wernight · Oct 21, 2010 at 08:36 PM ·
namebestpracticesstyle
Coding guideline and naming convention
I know that you're using pascal case for public member variables (which is opposite of common C# practice) but do you have a page describing all naming convention you're using?
Comment
Who's 'you'? Are you talking about the conventions used in the Unity API? Also, what public member variables are you referring to? Can you give an example?
They're using lowercase for properties (e.g. position, rotation, and almost everything else in the API) to make it look like they're public variables
Best Answer
Answer by Peter G · Oct 21, 2010 at 09:24 PM
http://answers.unity3d.com/questions/3098/where-are-the-rules-of-capitalization-documented
This should answer your question.