用unity做类似新手引导的功能的时候发现,自带的Mask组件是不能进行反向遮罩的,就找到了一篇文章,我完美实现了自己想要的效果,
可以实现根据需求调整位置
![在这里插入图片描述](https://img-blog.csdnimg.cn/20201224175819389.png
链接:https://blog.csdn.net/kitok/article/details/103815937