public void Equip() { EquipmentPanel CharacterStatManager = EquipmentPanel.instance; if (CharacterStatManager != null && item != null && item.value > 0) { CharacterStatManager.Equip(item); } HideItemTooltip(); }