Browse Source

Changed wrong assignment to target reference

master
SarveshBajaj 5 years ago
parent
commit
d717d9c877
  1. 2
      Assets/Fungus/Scripts/EventHandlers/DragCompleted.cs
  2. 2
      Assets/Fungus/Scripts/EventHandlers/DragEntered.cs
  3. 2
      Assets/Fungus/Scripts/EventHandlers/DragExited.cs

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

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

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

@ -80,7 +80,7 @@ namespace Fungus
}
if(targetRef!=null)
{
targetRef.Value = draggableObject.gameObject;
targetRef.Value = targetObject.gameObject;
}
ExecuteBlock();
}

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

@ -110,7 +110,7 @@ namespace Fungus
}
if(targetRef!=null)
{
targetRef.Value = draggableObject.gameObject;
targetRef.Value = targetObject.gameObject;
}
ExecuteBlock();
}

Loading…
Cancel
Save