Enum GraphicRaycaster.BlockingObjects
Type of raycasters to check against to check for canvas blocking elements.
Namespace: UnityEngine.UI
Assembly: UnityEngine.UI.dll
Syntax
public enum GraphicRaycaster.BlockingObjects
Fields
Name | Description |
---|---|
All | Perform a 2D and a 3D raycasts to check for blocking 2D and 3D elements. |
None | Perform no raycasts. |
ThreeD | Perform a 3D raycast check to check for blocking 3D elements |
TwoD | Perform a 2D raycast check to check for blocking 2D elements |