Click or drag to resize

PhysicsUtilsRaycastUi Method

Cast a ray to find an UI element.

Namespace:  RavingBots.MagicGestures.Game
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public static bool RaycastUi(
	Ray ray,
	out UiElement hitElement,
	out Vector3 hitPosition
)

Parameters

ray
Type: Ray
hitElement
Type: RavingBots.MagicGestures.UI.ElementsUiElement
hitPosition
Type: Vector3

Return Value

Type: Boolean
if element was found.
See Also