protected virtual void OnPointerExit(PointerEventData eventData, InventorySlot slot) { }
protected virtual void OnPointerRightClick(PointerEventData eventData, InventorySlot slot) { }
protected override void OnPointerLeftClick(PointerEventData eventData, InventorySlot slot) { }
protected override void OnPointerExit(PointerEventData eventData, InventorySlot slot) { overSeer.lastSlot = slot; overSeer.whereNow = null; }
/// <summary> /// Подсветка слота. /// </summary> /// <param name="slot"></param> /// <param name="color"></param> protected void HightlightSlot(InventorySlot slot, Color color) { slot.HighlightColor = color; }
/// <summary> /// Подсветка курсора. /// </summary> protected void HoverHightlightCursor(InventorySlot slot, Color highlight) { HightlightSlot(slot, highlight); }