Exemple #1
0
 public void OnBeginDrag(PointerEventData eventData)
 {
     //print (eventData.pointerDrag);
     GameManager.GetMenu("InvButton").GetComponentInChildren <SelectedSlotScript>().UpdateSlot(item);
     GameManager.slotItem    = item;
     GameManager.currentItem = item;
     //CursorScript.EnableCursor ();
     CursorUI.EnableCursor();
     isOn = true;
 }
 public void OnBeginDrag(PointerEventData eventData)
 {
     GameManager.currentItem = item;
     //CursorScript.EnableCursor ();
     CursorUI.EnableCursor();
 }