0.6.0: Added ui layer and canvas picker
This commit is contained in:
parent
27d7ecb2dd
commit
169d11a2dd
10 changed files with 206 additions and 11 deletions
|
|
@ -4,7 +4,7 @@ using UnityEditor;
|
|||
|
||||
namespace Game.NavigationTool.Editor.Toolbar
|
||||
{
|
||||
internal sealed class ToolbarPostProcess : AssetPostprocessor
|
||||
internal sealed class ToolScenePickerPostProcess : AssetPostprocessor
|
||||
{
|
||||
private static void OnPostprocessAllAssets(string[] importedAssets, string[] deletedAssets, string[] movedAssets, string[] movedFromAssetPaths)
|
||||
{
|
||||
|
|
@ -14,7 +14,7 @@ namespace Game.NavigationTool.Editor.Toolbar
|
|||
|
||||
private static bool HasChange(string[] assets)
|
||||
{
|
||||
return assets.Any(s => s.EndsWith(".unity"));
|
||||
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