Rect Transform
Each UI element has a Rect Transform component. The Rect Transform component works very similarly to the Transform component and is used to determine the position of the object on which it is attached.
Rect Tool
Any of the Transform tools can be used to manipulate UI objects. However, the Rect Tool allows you to scale, move, and rotate any object by manipulating the rectangle that encompasses it. While this tool can be used with 3D objects, it is most useful for 2D and UI objects.
Figure 6.20: The Rect Tool
- To move an object with the Rect Tool, select the object and then click and drag inside the rectangle.
- To resize an object, hover over the edge or corner of an object. When the cursor changes to arrows, click and drag to resize the object. You can scale uniformly by holding down the shift button while dragging.
- To rotate, hover at the corner of the objects--slightly outside of the rectangle until the cursor displays...