-
Notifications
You must be signed in to change notification settings - Fork 1
Coding Standards
ShadeXeos edited this page Oct 5, 2018
·
1 revision
We will be programming in C# within the Unity engine.
- Tabs are 4 characters long
- US English Spelling
- Binary Operators should have a space between them. e.g.
var = 0notvar=0 - When using control structures place the start curly bracket underneath the opening statement. e.g.
-
void TestMethod()
{
}
-
- Avoid using abbreviations. Avoid using things like:
tstOne,fndVal
Classes: PascalCase
Method Name : PascalCase
Local Variables : camelCase
Method Arguments : camelCase