using UnityEngine.EventSystems; namespace Kryz.CharacterStats.Examples { public class EquipmentSlot : ItemSlot { public EquipmentType EquipmentType; protected override void OnValidate() { base.OnValidate(); gameObject.name = EquipmentType.ToString() + " Slot"; } public override void OnPointerEnter(PointerEventData eventData) { EquippedItemTooltip.Instance.ShowTooltip(Item); } } }