Skip to content

Latest commit

 

History

History
37 lines (35 loc) · 1.11 KB

DESIGN_CONTRIBUTING.md

File metadata and controls

37 lines (35 loc) · 1.11 KB

Design-Team Style Guide

Please follow the rules below:

  • When adding assets to the project you need to keep a hierarchical structure.
  • If the assets you add may be added to GameObjects you need to place the root folder of your structure (if not already existent) into Resources folder. Why? Because some of our programmers may not want to use drag-n-drop to assign assets to GameObjects and instead use Resources.Load<SomeType>(path); scripts are not assets so they will not be placed in Resources folder.
  • When naming you hierarchical structure of folders do not add redundant information in names, it is not necessary.
  • The file naming convention is UpperCamelCase. e.g.
- Resources
  - Objects
    - Houses
      - Basic.obj
      - Inn.obj
      - TownHall.obj
    - Items
      - Weapons
        - Sword.obj
        - Bow.obj
      - Armours
        - Basic.obj
        - ~~BasicArmour.obj~~ // Bad
        - Enchanted.obj
        - Demonic.obj
  - Sprites
    - UI
      - Menus
        - Button.jpg
        - Board.jpg
    - Skybox
      - Sunny.jpg
  - Materials
  - Prefabs