UI Advanced Mask is a plugin highly focused on UI masking. It’s designed to work with unity native uGUI system, but also able to work in 3d game world. Unity natively includes a UI mask feature, but it’s not perfect. It’s using cutoff and can’t have smooth edge or half transparent. Therefore i develop this ortho-projector-like UI mask plugin with ui pointer raycasting, so that we can do beautiful masking on 2D/3D UI. All position/scale/rotation/size is based on RectTransform even if it’s not in a canvas.
UI高级掩码是一个高度专注于UI掩码的插件。它旨在与unity原生uGUI系统配合使用,但也能在3d游戏世界中工作。Unity本身就包含一个UI掩码功能,但它并不完美。它使用了截止线,不能有平滑的边缘或半透明。因此,我开发了这个带有UI指针光线投射的类似正交投影仪的UI遮罩插件,这样我们就可以在2D/3D UI上做漂亮的遮罩。所有位置/比例/旋转/大小都基于RectTransform,即使它不在画布中。