Method RayIntersects
RayIntersects(RectTransform, Ray, out Vector3)
Declaration
public static bool RayIntersects(this RectTransform target, Ray ray, out Vector3 hitWorldPos)
Parameters
| Type | Name | Description |
|---|---|---|
| RectTransform | target | |
| Ray | ray | |
| Vector3 | hitWorldPos |
Returns
| Type | Description |
|---|---|
| bool |