assets-create-folder
Creates folders in Unity under a parent path starting with 'Assets'. Parent folders must exist. After creation, triggers AssetDatabase refresh. Returns the new folder's GUID. Use to organize project assets and scripts.
Instructions
Creates a new folder in the specified parent folder. The parent folder string must start with the 'Assets' folder, and all folders within the parent folder string must already exist. For example, when specifying 'Assets/ParentFolder1/ParentFolder2/', the new folder will be created in 'ParentFolder2' only if ParentFolder1 and ParentFolder2 already exist. Use it to organize scripts and assets in the project. Does AssetDatabase.Refresh() at the end. Returns the GUID of the newly created folder, if successful.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | Yes | Array of folder creation specs. SCHEMA: [{"parentFolderPath":"Assets/parent","newFolderName":"folderName"}] - properties must be camelCase. |