- 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) intoResourcesfolder. Why? Because some of our programmers may not want to use drag-n-drop to assign assets toGameObjects and instead useResources.Load<SomeType>(path);scripts are not assets so they will not be placed inResourcesfolder. - 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