UxrPointerInputModule.IsInteractive Method

Checks if the given GameObject is interactive. An object is considered interactive when it is able to handle either pointer down or pointer drag events. Since other non-interactive objects may be in front of interactive objects, the whole hierarchy is checked up to the first UxrCanvas found.

Namespace: UltimateXR.UI.UnityInputModule
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

public static bool IsInteractive(
	GameObject uiGameObject
)

Parameters

 

uiGameObject
Type: GameObject
UI GameObject to check

Return Value

Type: Boolean
Whether the given GameObject is interactive or not

See Also

Reference

UxrPointerInputModule Class
UltimateXR.UI.UnityInputModule Namespace