/unity-code-templates

Fixes inconsistent spaces and style in Unity 2017+ code templates

Unity Code templates

Updated for Unity 2018.2

What

  • Spaces not Tabs
  • Consistent standard C# style
    • Braces on separate lines
    • Explicit protection modifiers
    • No space between method/function name and parameter list
  • Consistent newlines between definitions

How

  • Put these files in Unity\Editor\Data\Resources\ScriptTemplates

Why

Got tired of doing this on a per file basis