Browse Source

Fixed wrong target collider reference in OnDragComplete

master
SarveshBajaj 5 years ago
parent
commit
ef1d813b1d
  1. 2
      Assets/Fungus/Scripts/EventHandlers/DragCompleted.cs

2
Assets/Fungus/Scripts/EventHandlers/DragCompleted.cs

@ -186,7 +186,7 @@ namespace Fungus
}
if(targetRef!=null)
{
targetRef.Value = targetObject.gameObject;
targetRef.Value = targetCollider.gameObject;
}
overTarget = false;

Loading…
Cancel
Save