protected override bool CustomTool(bool isHotControl, TilemapEditorTool tool, Vector3Int position) { var executed = false; if (grid != null) { executed = tool.HandleTool(isHotControl, grid, brushTarget, position); } return(executed); }