1.3.1: Removing all package scenes from ScenePicker, due to read-only scenes not being loadable

This commit is contained in:
Anders Ejlersen 2022-01-21 21:55:57 +01:00
parent c54a325cfe
commit 21cd509506
3 changed files with 27 additions and 14 deletions

View file

@ -13,7 +13,8 @@ namespace Module.NavigationTool.Editor.Toolbar
private static bool HasChange(string[] assets)
{
return assets.Any(s => s.EndsWith(".unity")) || assets.Any(s => s.EndsWith("EditorBuildSettings.asset"));
return assets.Any(s => s.EndsWith(".unity")) ||
assets.Any(s => s.EndsWith("EditorBuildSettings.asset"));
}
}
}