void SetAction()
 {
     target.SetAction(action);
     controller.SetItem(invItemNum);
     ui.HideInventoryPanel();
     ui.DisableMainButtons();
     ui.EnableTargetButtons();
 }