An example of an enhanced mask component able to work with the image data. Enables picking on image parts and not just the Rect Transform
1 Overview
3 Methods
4 Usage
6 See also
An example of an enhanced mask component able to work with the image data. Enables picking on image parts and not just the Rect Transform
| Property | Description |
|---|---|
| Alpha Threshold | Minimum alpha value required for a point to register as a hit. |
| Graphic | Graphic source used for sampling pixels. |
| Raycast Target | Toggle whether this graphic blocks raycasts. |
This component does not expose public methods beyond inherited behaviour.
Add the effect to your object through the component menu using:
“Add Component -> UI -> Extensions -> Raycast Mask”
“Link to demo video or animated Gifs”
N/A
senritsu