/// <summary> /// Called by Dropzone when this Player moves their move into a new InventorySlot. /// </summary> public void OnPointerExit() { m_endDragDrop = null; }
/// <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>(); }
/// <summary> /// Called by Dropzone when this Player moves their move into a new InventorySlot. /// </summary> public void OnPointerEnter(Dropzone d) { m_endDragDrop = d; }