docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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

    In This Article
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, November 1, 2023