public void SetEntityB(BlueprintEntity b, BlueprintEntityPin anchorB) { this.b = b; this.anchorB = anchorB; _anchorBTransform = anchorB.transform; _rectB = anchorB.GetComponent <RectTransform>(); _rectParentB = _anchorBTransform.parent.GetComponent <RectTransform>(); }
public void SetEntityA(BlueprintEntity a, BlueprintEntityPin anchorA) { this.a = a; this.anchorA = anchorA; _anchorATransform = anchorA.transform; _rectA = anchorA.GetComponent <RectTransform>(); _rectParentA = _anchorATransform.parent.GetComponent <RectTransform>(); }