Ejemplo n.º 1
0
 private void OnTouchDrag(Touch eventData)           //We update the position of the held object in its own script, but call it from here
 {
     if (holding != null)
     {
         holding.MoveMe(eventData.position);
     }
 }