0
0
Unityframework~10 mins

Project structure and folders in Unity - Step-by-Step Execution

Choose your learning style9 modes available
Concept Flow - Project structure and folders
Create Unity Project
Generate Default Folders
Assets Folder
Scripts
Scenes
Prefabs
Materials
Animations
Audio
Others
Project Settings Folder
Library Folder (auto-generated)
Builds Folder (optional)
Organize and Add Content
This flow shows how Unity creates a project with default folders and how you organize your game files inside them.
Execution Sample
Unity
// Unity project folder structure example
Assets/
  Scripts/
  Scenes/
  Prefabs/
ProjectSettings/
Library/
Builds/
This shows the main folders created in a Unity project and where you put your scripts, scenes, and other assets.
Execution Table
StepActionFolder Created/UsedPurpose
1Create new Unity projectProject rootStart a new game project
2Unity generates default foldersAssetsMain folder for game content
3Unity generates default foldersProjectSettingsStores project configuration
4Unity generates default foldersLibraryCaches imported assets (auto-generated)
5Create subfolderAssets/ScriptsStore C# scripts
6Create subfolderAssets/ScenesStore scene files
7Create subfolderAssets/PrefabsStore reusable game objects
8Create subfolderAssets/MaterialsStore materials for rendering
9Create subfolderAssets/AnimationsStore animation files
10Create subfolderAssets/AudioStore sound files
11Optional: Create folderBuildsStore game builds for testing or release
12Add content to foldersAssets/*Organize scripts, scenes, assets for development
13Project ready for developmentAll foldersStart coding and designing game
💡 All necessary folders created and organized for Unity project development
Variable Tracker
FolderStartAfter Step 2After Step 6After Step 10Final
AssetsNot existExistsExistsExistsExists
ProjectSettingsNot existNot existExistsExistsExists
LibraryNot existNot existExistsExistsExists
Assets/ScriptsNot existNot existExistsExistsExists
Assets/ScenesNot existNot existExistsExistsExists
Assets/PrefabsNot existNot existNot existExistsExists
Assets/MaterialsNot existNot existNot existExistsExists
Assets/AnimationsNot existNot existNot existExistsExists
Assets/AudioNot existNot existNot existExistsExists
BuildsNot existNot existNot existNot existOptional
Key Moments - 3 Insights
Why is the Library folder not something I should edit?
The Library folder is auto-generated by Unity to cache imported assets. Editing it can break your project. See execution_table step 4.
Where should I put my C# scripts in the project?
Scripts go inside the Assets/Scripts folder to keep code organized. See execution_table step 5.
Can I add my own folders inside Assets?
Yes, you can create any folders inside Assets to organize your files better. The example shows common folders like Scenes, Prefabs, Materials.
Visual Quiz - 3 Questions
Test your understanding
Look at the execution_table, at which step is the Assets/Scripts folder created?
AStep 5
BStep 3
CStep 7
DStep 10
💡 Hint
Check the 'Folder Created/Used' column in execution_table rows for Assets/Scripts
According to variable_tracker, which folder exists right after step 2?
ABuilds
BAssets/Scripts
CAssets
DAssets/Audio
💡 Hint
Look at the 'After Step 2' column in variable_tracker for folder existence
If you add a new folder 'Assets/Textures', how would variable_tracker change?
AThe 'Assets' folder would disappear
BA new row for 'Assets/Textures' with 'Not exist' initially and 'Exists' after creation
CThe 'Library' folder would be renamed
DNo change at all
💡 Hint
Adding a folder means tracking its existence over steps in variable_tracker
Concept Snapshot
Unity Project Structure:
- Assets: main folder for game content
- Subfolders: Scripts, Scenes, Prefabs, Materials, Animations, Audio
- ProjectSettings: project configs
- Library: auto-generated cache (do not edit)
- Builds: optional for game builds
Organize files inside Assets for clean development.
Full Transcript
When you create a new Unity project, Unity automatically creates several important folders. The main folder is Assets, where you put all your game content like scripts, scenes, prefabs, materials, animations, and audio files. ProjectSettings holds your project configuration files. Library is a special folder Unity uses to cache imported assets; you should not edit it manually. Optionally, you can create a Builds folder to store your game builds. Organizing your files inside these folders helps keep your project clean and easy to manage.