Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 364 Bytes

unity.md

File metadata and controls

11 lines (9 loc) · 364 Bytes

Unity style guide

Style guide for Unity projects

Table of Contents

  1. Naming

Naming

  • Variables that reference a prefab for cloning should be suffixed with Prefab
  • Variables that hold a reference to GameObject instances should be named accordingly
    • Locally scoped: clone
    • Globally scoped: prefab name + Clone (e.g. weaponClone)