Click or drag to resize

UnityXRGenericInputModuleIsButtonPressed Method

Check if the given axis is pressed.

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

Parameters

axis
Type: SystemString

Return Value

Type: Boolean
True if pressed, otherwise false
See Also