Table of Contents

轴心和锚点


sizeDelta

首先sizeDelta并不是指的RectTransform的大小,官方的定义是这样的:

The size of this RectTransform relative to the distances between the anchors.
If the anchors are together, sizeDelta is the same as size. If the anchors are in each of the four corners of the parent, the sizeDelta is how much bigger or smaller the rectangle is compared to its parent.

轴心

锚点