Class XRControllerWithRumble
Identifies a controller that is capable of rumble or haptics.
Inherited Members
Namespace: UnityEngine.InputSystem.XR
Syntax
[Preserve]
public class XRControllerWithRumble : XRController
Methods
SendImpulse(Single, Single)
Declaration
public void SendImpulse(float amplitude, float duration)
Parameters
Type | Name | Description |
---|---|---|
Single | amplitude | |
Single | duration |