I am new to unity. I am trying to figure out what is the difference between anchored position and local position and where can the both be applied?
Asked
Active
Viewed 1.1k times
1 Answers
-1
Anchored Position
The Anchored Position is the position of the pivot of the RectTransform taking into consideration the anchor reference point. The anchor reference point is the position of the anchors. If the anchors are not together, Unity estimates the four anchor positions using the pivot placement as a reference.Local Position
localPosition is the position of the GameObject with respect to its parent object. transform. position is the position of the GameObject with respect to the root. Within local space of a GameObject, the center (or pivot) is always (0, 0, 0).
Source: Unity Forum

Wajid
- 127
- 2
- 11
-
1Could you please describe what is "anchor reference point" and how Unity estimates four anchor positions using the pivot placement? – Unicorn May 21 '21 at 20:15
-
It is the position of the anchors. If the anchors are not together, Unity estimates the four anchor positions using the pivot placement as a reference. – Wajid May 25 '21 at 15:44
-
4Anyone asking this question would have also searched the unity docs. This is not helpful. – Liam de Koster-Kjaer Mar 09 '22 at 01:01
-
1Copy paste from Unity docs. Not helpful. – hellobody Jan 19 '23 at 12:05
-
It is indeed from unity forum. I did mention it. – Wajid Feb 14 '23 at 18:58