Skip to content

agi23-g8/cubes_traveller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cubes_traveller

File Structure

Example:

  • Assets
    • Audio
    • Scripts
      • Player
      • ...
    • Models
      • Player
      • Cube
      • ...
    • Materials
    • Prefabs
      • Interactables
    • Scenes
    • Textures
      • Player
      • ...
    • Shaders
      • ...

Naming Conventions

Variables

camelCase

Functions, Methods & Classes

PascalCase

Code Guidelines

  • Readability over complexity
  • Avoid ternary operators (hard to read)
  • Avoid if statements without brackets
  • Avoid nested if statements
    • Use early returns instead
  • Avoid commenting out code, if not used, delete it