Пример #1
0
 /// <summary>
 /// Called by Dropzone when this Player moves their move into a new InventorySlot.
 /// </summary>
 public void OnPointerExit()
 {
     m_endDragDrop = null;
 }
Пример #2
0
 /// <summary>
 /// Called by Interfacable when this PLayer clicks down on an Inventory item.
 /// </summary>
 public void OnPointerDown(Interfacable i)
 {
     m_startDragDrop = i.gameObject.GetComponentInParent <Dropzone>();
 }
Пример #3
0
 /// <summary>
 /// Called by Dropzone when this Player moves their move into a new InventorySlot.
 /// </summary>
 public void OnPointerEnter(Dropzone d)
 {
     m_endDragDrop = d;
 }