April 2018
Beginner
468 pages
11h 7m
English
The Mask component can be added to any UI object with an Image component. If its added to a UI object that doesn't have an Image component, it won't function, since it needs an Image to determine the restricted area.
The Mask component can be added to a UI Object by selecting Add Component | UI | Mask within the Inspector:
Any children of the UI Object containing the Mask component will then have their visibility restricted to only the area within the opaque area of the Source Image on its Image component.
In the following image, the object named Mask is a UI Image with a Mask component added to it. As you can see, the purple ...