Suppose I have two GUI GameObjects, and I want to move one of them to the position of the other.
If they have the same parent, and identical anchors and pivots, I can just set the anchoredPosition of one to the anchoredPosition of the other.
But suppose that none of those things are guaranteed to be true--they might have different anchors, different pivots, and be located in different places in the object hierarchy. The only thing you know is that they are both attached to the same...
Copy screenspace position
If they have the same parent, and identical anchors and pivots, I can just set the anchoredPosition of one to the anchoredPosition of the other.
But suppose that none of those things are guaranteed to be true--they might have different anchors, different pivots, and be located in different places in the object hierarchy. The only thing you know is that they are both attached to the same...
Copy screenspace position