Version: 2020.2
Event System Manager
Physics Raycaster

Graphic Raycaster

The Graphic Raycaster is used to raycast against a Canvas. The Raycaster looks at all Graphics on the canvas and determines if any of them have been hit.

The Graphic Raycaster can be configured to ignore backfacing Graphics as well as be blocked by 2D or 3D objects that exist in front of it. A manual priority can also be applied if you want processing of this element to be forced to the front or back of the Raycasting.

Свойства

Свойство: Функция:
Ignore Reversed Graphics Should graphics facing away from the raycaster be considered?
Blocked Objects Type of objects that will block graphic raycasts.
Blocking Mask Type of objects that will block graphic raycasts.
Event System Manager
Physics Raycaster
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961