Exemplo n.º 1
0
 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>();
 }
Exemplo n.º 2
0
 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>();
 }