UI Rect Tool

With the new UI toolset, Unity has also given us a new UI Rect tool. It can be found in the upper left of the Unity interface, now positioned alongside the other Transform icons. Figure 14.7 shows the Transform toolbar with the additional UI Rect tool.

Image

Figure 14.7 Transform toolbar with the new Rect Tool highlighted

With the UI Transform tool selected, you will now find four points along the edge of the UI Image for the Mask GameObject. This will allow you to move the Image Component as well as affect its size by grabbing one of the points and dragging it around.

Tip

The UI Transform tool works exactly the same as if this were ...

Get Learning 2D Game Development with Unity®: A Hands-On Guide to Game Creation now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.