1.Transform.sizeDelta
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.
UGUI 学习笔记
最新推荐文章于 2023-06-10 18:22:12 发布