Skip to content

Fixes inconsistent spaces and style in Unity 2017+ code templates

Notifications You must be signed in to change notification settings

gordonmcshane/unity-code-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Fixes inconsistent spaces and style in Unity 2017+ code templates

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published