Skip to content
Snippets Groups Projects
Commit 28f4c5b7 authored by Tobias Schöner's avatar Tobias Schöner
Browse files

fix: FactWrapper gets set correctly on dropped Fact display

parent 57840c6a
No related branches found
No related tags found
No related merge requests found
......@@ -29,6 +29,7 @@ public void OnDrop(PointerEventData eventData)
rect.anchorMax = new Vector2(0.5f, 0.5f);
currentFact = eventData.pointerDrag.GetComponent<FactWrapper>().fact;
current.GetComponent<FactWrapper>().fact = currentFact;
Debug.Log("recieved Fact: " + currentFact.Id);
CommunicationEvents.NewAssignmentEvent.Invoke();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment