Skip to content

A Unity Editor tool that automatically creates organized folder structures for Unity projects using configurable templates.

License

Notifications You must be signed in to change notification settings

emirbesir/unity-folder-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Unity Folder Structure Generator

A Unity Editor tool that automatically creates organized folder structures for Unity projects using configurable templates.

Last Commit Top Language Unity License: MIT

Tested with Unity 6000.1.3f1


Usage

Table of Contents

Features

  • 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.

Installation & Usage

Quick Start

  1. Download or clone this repository.
  2. Copy the FolderStructureGenerator folder into your Unity project's Assets/Editor/ directory.
  3. Open Unity and go to Assets > Create Folders in the menu bar.
  4. Enter your project name in the "Project Name" field.
  5. Select a configuration file (2D or 3D templates are included).
  6. Click "Generate Folders!" to create your folder structure.

Creating Custom Configurations

  1. Right-click in your Project window.
  2. Go to Create > Unity Tools > Folder Structure Config.
  3. Name your configuration file.
  4. 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.

API Reference

FolderStructureConfig

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.

CreateFolders

The editor window class that handles the folder creation process.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A Unity Editor tool that automatically creates organized folder structures for Unity projects using configurable templates.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages