Skip to content

Commit

Permalink
Merge pull request #17 from siglocpp/I16
Browse files Browse the repository at this point in the history
refs #16: filters all files, which are not part of the Asset folder
  • Loading branch information
Eastrall committed Jun 19, 2022
2 parents 08cecb9 + 1d1a1c1 commit 653466d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Editor/Scripts/RosalinaAssetProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ public class RosalinaAssetProcessor : AssetPostprocessor
private static void OnPostprocessAllAssets(string[] importedAssets, string[] deletedAssets, string[] movedAssets, string[] movedFromPath)
{
string[] uiFilesChanged = importedAssets
.Where(x => x.StartsWith("Assets"))
.Where(x => Path.GetExtension(x) == UIDocumentExtension)
.ToArray();

Expand Down

0 comments on commit 653466d

Please sign in to comment.