Method StopHaptics
StopHaptics(InputActionReference, InputDevice)
Stop any haptics playing for the given action reference
Declaration
public static void StopHaptics(InputActionReference actionRef, InputDevice inputDevice = null)
Parameters
Type | Name | Description |
---|---|---|
InputActionReference | actionRef | Action reference to stop the haptics on. |
InputDevice | inputDevice | Optional device filter for actions bound to multiple devices. |
StopHaptics(InputAction, InputDevice)
Stop any haptics playing for the given action
Declaration
public static void StopHaptics(InputAction inputAction, InputDevice inputDevice = null)
Parameters
Type | Name | Description |
---|---|---|
InputAction | inputAction | Input action to stop haptics for |
InputDevice | inputDevice | Optional device filter for actions bound to multiple defices |