 | 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)
Syntaxprotected bool IsButtonPressed(
string axis
)
Parameters
- axis
- Type: SystemString
Return Value
Type:
BooleanTrue if pressed, otherwise false
See Also