A Unity Editor tool that automatically creates organized folder structures for Unity projects using configurable templates.
Tested with Unity 6000.1.3f1
- Configurable Templates: Create custom folder structures using ScriptableObject configurations.
- Pre-built Configurations: Includes 2D and 3D project templates out of the box.
- Git Integration: Optional
.gitkeep
file generation for empty folders.
- Download or clone this repository.
- Copy the
FolderStructureGenerator
folder into your Unity project'sAssets/Editor/
directory. - Open Unity and go to
Assets > Create Folders
in the menu bar. - Enter your project name in the "Project Name" field.
- Select a configuration file (2D or 3D templates are included).
- Click "Generate Folders!" to create your folder structure.
- Right-click in your Project window.
- Go to
Create > Unity Tools > Folder Structure Config
. - Name your configuration file.
- Customize the folder structure in the Inspector:
- Default Project Name: The default name that appears in the generator.
- Folder Groups: Main folders with their subfolders.
- Standalone Folders: Independent folders created at the Assets root level.
- Create Git Keep Files: Enable/disable
.gitkeep
file generation.
The main configuration ScriptableObject
with the following properties:
defaultProjectName
: Default project name.folderGroups
: List of main folders and their subfolders.standaloneFolders
: Independent folders.createGitKeepFiles
: Enable/disable.gitkeep
generation.
The editor window class that handles the folder creation process.
This project is licensed under the MIT License - see the LICENSE file for details.