public void SetShortcut() { Debug.Log("Setting shortcut!"); //selected.GetComponent<ManageItem>().inShortcut = true; if (selected.GetComponent <DisplayItem>().itemType == "healing") { goToSetShortcut = selected; updateLog.AddActionInLog("Select shortcut slot to add shortcut."); } else { updateLog.AddActionInLog("You can only add shortcuts for healing items."); } }