Skip to content

Commit

Permalink
fix: fix sample importer
Browse files Browse the repository at this point in the history
  • Loading branch information
mob-sakai committed Apr 10, 2020
1 parent ccd0402 commit ea7d073
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Packages/UIEffect/Scripts/Editor/ImportSampleMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ private static void ImportSample(string jsonGuid, string sampleName)
else
throw new DirectoryNotFoundException(src);

AssetDatabase.ImportAsset(dst, ImportAssetOptions.ImportRecursive);
AssetDatabase.Refresh(ImportAssetOptions.ImportRecursive);
}

private static string GetPreviousSamplePath(string displayName, string sampleName)
Expand Down

0 comments on commit ea7d073

Please sign in to comment.