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;
 }
Exemple #5
0
 /// <summary>
 /// Подсветка слота.
 /// </summary>
 /// <param name="slot"></param>
 /// <param name="color"></param>
 protected void HightlightSlot(InventorySlot slot, Color color)
 {
     slot.HighlightColor = color;
 }
Exemple #6
0
 /// <summary>
 /// Подсветка курсора.
 /// </summary>
 protected void HoverHightlightCursor(InventorySlot slot, Color highlight)
 {
     HightlightSlot(slot, highlight);
 }