Coding Standards - Gunto/DP1-Breakout GitHub Wiki
We will be programming in C# within the Unity engine.
Coding Standards:
- 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
Naming Conventions
Classes: PascalCase
Method Name : PascalCase
Local Variables : camelCase
Method Arguments : camelCase