Skip to content

Commit

Permalink
Merge pull request #24 from RoyTheunissen/feature/new-collection-fix
Browse files Browse the repository at this point in the history
Feature/new collection fix
  • Loading branch information
RoyTheunissen authored May 17, 2023
2 parents 1e53e1c + b4065a9 commit fff1c9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Editor/Windows/AssetPaletteWindowHeader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ private void CreateNewCollection()
// Make the path relative to the project.
path = "Assets" + path.Replace(Application.dataPath, string.Empty);

Directory.CreateDirectory(path);
Directory.CreateDirectory(Path.GetDirectoryName(path));

AssetPaletteCollection newCollection = CreateInstance<AssetPaletteCollection>();
AssetDatabase.CreateAsset(newCollection, path);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.roytheunissen.assetpalette",
"displayName": "Asset Palette",
"version": "0.2.6",
"version": "0.2.7",
"unity": "2020.3",
"description": "Allows you to quickly organize assets for certain workflows, such as organizing prefabs for level design.",
"keywords": [
Expand Down

0 comments on commit fff1c9b

Please sign in to comment.