performhapticeventoncurrenttarget - eisclimber/ExPresS-XR GitHub Wiki
Method in HoverRumblePlayer
Use this function to send haptic Events to the current hapticTarget. Note: If targetOverride is active the hapticTarget will be updated automatically.
public void PerformHapticEventOnCurrentTarget(RumbleDescription rumble, HapticImpulsePlayer targetOverride = null)| Name | Description |
|---|---|
| ExPresSXR.Interaction.Feedback.RumbleDescription rumble | Rumble to be performed. |
UnityEngine.XR.Interaction.Toolkit.Inputs.Haptics.HapticImpulsePlayer targetOverride |
Optional target override. |