How to use Unity RectMask2D

When the mask is not turned on,
insert image description here
the mask is the parent object of the masked object

After the mask is turned on,
insert image description here
there is a big piece of red, but this one inside the mask is left

Guess you like

Origin blog.csdn.net/qq_42915442/article/details/128719433