Programming Documentation

logo

Programming Documentation

Search
Light Mode
Contact Us

Contact us

No results for your search.
Sorry, an unexpected error occurred


Assets

 

Folders

PascalCase

Use Textures/TreesModels/Trees and not Trees/TexturesTrees/Models. That way its easy to set up root directories for the different software involved, for example, Substance Painter would always be set to save to the Textures directory.

Since it makes it easier to compare similar assets from different art sets to ensure continuity across art sets.


Debug Folders

[PascalCase]


Debug Objects

[SNAKE_CASE]


Non-code Assets

🚫
Avoid this if possible, for example, vehicles_fighterJet should be vehicles_jet_fighter if you plan to have multiple types of jets.


Persistent/Important GameObjects

_snake_case


Directory/File Structure

Root
+---Assets
+---Build
/---Tools     // Programs to aid development: compilers, asset managers, etc.






 

Assets folder structure

Assets
+---Art
|   +---Materials
|   +---Models      // FBX and BLEND files
|   +---Textures    // PNG files
+---Audio
|   +---Music
|   \---Sound       // Samples and sound effects
+---Scripts
+---ScriptableObjects
+---Shaders     // Shader files and shader graphs
+---Docs            // Wiki, concept art, marketing material
+---Level           // Anything related to game design in Unity
|   +---Prefabs
|   +---Scenes
|   \---UI
\---Resources       // Configuration files, localization text and other user files.







Scripts folder structure

A Framework directory is great for having code that can be reused across projects.

The Scripts folder varies depending on the project, however, EnvironmentFrameworkTools and UI should be consistent across projects.

Scripts
+---Environment
+---Framework
+---NPC
+---Player
+---Tools
\---UI







Models folder structure

Models
+---Blend
\---FBX







On This Page