UxrStandardAvatarController.CanHandInteractWithUI Method
Gets if the hand is available to interact with UI elements, such as pressing buttons. This is used by the UI interaction system to ignore the hand for these events. For example, when the hand is holding an object it could be desirable to not let it interact inadvertently with any user interface.
Namespace: UltimateXR.Avatar.Controllers
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public override bool CanHandInteractWithUI(
UxrHandSide handSide
)
Parameters
- handSide
- Type: UltimateXR.Core.UxrHandSide
Which hand to check
Return Value
Type: Boolean
Whether the given handed can interact with user interfaces
See Also
Reference
UxrStandardAvatarController Class
UltimateXR.Avatar.Controllers Namespace