Weird little postures-various positions about the UI

Weird little postures-various positions about the UI

  • The offset of the center of gravity of LocalPosition relative to the center of gravity of the parent node

  • AnchoredPosition The offset of the center of gravity point relative to the anchor point of the parent node

  • Position World coordinate of the center of gravity

  • The ratio of the horizontal and vertical coordinates of the center of gravity of the Pivot in the rectangle

  • LocalPosition Position AnchoredPosition coordinates are all affected by its own Pivot

  • LocalPosition is affected by the parent node's Pivot AnchoredPosition is affected by the parent node's anchor point

Guess you like

Origin blog.csdn.net/allein_STR/article/details/110662726