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