Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 464 Bytes

styleguide.md

File metadata and controls

12 lines (11 loc) · 464 Bytes

Contributing to GitHub for Unity

Style Guide

  • PascalCase for all types regardless of visibility
  • PascalCase for public members and const members
  • camelCase for private members, parameters and variables
  • No spaces before () for method calls and definitions
  • No spaces before []
  • Space before () in if, for, while
  • Space before {
  • Spaces inside { } when on the same line - { get; set; }
  • Spaces after any ; if statements follow it