0.6.1: Fixed issue, where ui toolbar options weren't availabe in play mode

This commit is contained in:
Anders Ejlersen 2021-04-12 11:57:03 +02:00
parent 169d11a2dd
commit 2a875eda93
3 changed files with 3 additions and 3 deletions

View file

@ -10,7 +10,7 @@ namespace Game.NavigationTool.Editor.Tools
internal sealed class ToolUILayerToggle : IToolbarDrawer
{
public bool Visible => true;
public bool Enabled => !EditorApplication.isPlayingOrWillChangePlaymode;
public bool Enabled => true;
public EToolbarPlacement Placement => EToolbarPlacement.Left;
public void Update()