1.3.1: Removing all package scenes from ScenePicker, due to read-only scenes not being loadable
This commit is contained in:
parent
c54a325cfe
commit
21cd509506
3 changed files with 27 additions and 14 deletions
|
|
@ -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"));
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue