Name | Description |
---|---|
parentFolder | The name of the parent folder. |
newFolderName | The name of the new folder. |
String - The GUID of the newly created folder.
Create a new folder.
string guid = AssetDatabase.CreateFolder("Assets", "My Folder");
string newFolderPath = AssetDatabase.GUIDToAssetPath(guid);