Click or drag to resize

UnityXRGenericInputModuleIsButtonPressed Method

Check if the given axis is pressed.

Namespace:  ImmerseSDK.Platforms.UnityXR
Assembly:  ImmerseSDK.NoDll (in ImmerseSDK.NoDll.dll) Version: 3.9.0.0 (3.9.0.0)
Syntax
C#
protected bool IsButtonPressed(
	string axis
)

Parameters

axis
Type: SystemString

Return Value

Type: Boolean
True if pressed, otherwise false
See Also