Skip to content

Theo-Mestre/Unity-Assets-Directory-Creator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Unity Assets Directory Creator

Assets Directory Creator is a package made for Unity 6 to allow quick way to create directories and assets in Unity.

AssetsDirectoryCreator

Features

  • Directory Selection
    Choose the folder you want to add to your project directory. If you select the Scripts or Materials directories, you can immediately create new scripts or materials within them.

  • Optimized Workflow for Bulk Operations
    When creating multiple directories or assets, you can disable the Reload Domain On Save toggle to skip the automatic reload. This allows for faster asset creation without interruptions. Note that the new assets will only appear after the domain is reloaded manually.

  • Customizable Settings
    Adjust settings such as the working directory and default folder paths through the AssetsCreatorSettings scriptable object. You can create additional AssetsCreatorSettings objects (Create->AssetsCreator->Settings) if different configurations are required for specific projects.

image

  • Script Templates
    Extend functionality by adding more script templates (Create->AssetsCreator->ScriptTemplate) in a Resources/ScriptTemplates directory. Use {ClassName} placeholders in your templates, which will be automatically replaced with the desired class name when creating new scripts.

image

Available Templates:

  • Mono Behaviour Template: An empty MonoBehaviour class.
  • Scriptable Object Template: An empty Scriptable Object.
  • Editor Window Template: A template class for Editor Window.
  • Static Class Template: An empty static class.
  • MonoBehaviour Singleton Template: A ready to use monobehaviour singleton class.
  • Coroutines Helper: A static class to start and centralise coroutines.

Installation

In order to use Assets Directory Creator, you can import the Unity Package available in Releases

You can also download the sources and drop them in your project Assets folder.

System Requirements

Unity 6000.0.23f1 or newer

It might work on older version but I didn't tested it.