private void VariableLabelClickHandler(SetBlockUI setBlock, ActiveLabel sender)
 {
     if (_editPanel.CurrentTool == EditTools.Cursor)
     {
         _cursorTool.CursorOnVariableLabel(setBlock, sender);
     }
 }
        public void CursorOnVariableLabel(SetBlockUI setBlock, ActiveLabel sender)
        {
            switch (_setLabelSteps)
            {
            case SetLabelSteps.SetTarget:
            {
                _setLabelTarget       = sender;
                _isSetedLabelVariable = true;
                _setVariableBlock     = setBlock;
                _activeLabelType      = ActiveLabelType.Variable;

                _setLabelSteps = SetLabelSteps.SetValue;
                _contextMenu.ClearContextMenu();
                SetVariableMenuItems();
                _contextMenu.gameObject.SetActive(true);
            }
            break;
            }
        }
 private void VariableLabelClickHandler(SetBlockUI setBlock, ActiveLabel label)
 {
     OnVariableLabelClick?.Invoke(setBlock, label);
 }