public override void ShowDialog(Transform caller, string title, string description, int minValue, int maxValue, IntValDialogCallback yesCallback, IntValDialogCallback noCallback)
        {
            base.ShowDialog(caller, title, description, minValue, maxValue, yesCallback, noCallback);

            if (slot != null && inventoryItem != null)
            {
                slot.item = inventoryItem;
                slot.Repaint();
            }
        }
        public override void Repaint(Task task)
        {
            base.Repaint(task);

            var inventoryTask = (IInventoryProTask)task;
            var item          = inventoryTask.item;

            if (wrapper != null)
            {
                wrapper.item = item;
                wrapper.Repaint();
            }
        }