API reference
API reference
Select your platform
No SDKs available
No versions available

HapticActionSO Class

A FeedbackAction ScriptableObject that plays a predefined haptic pattern.

Methods

Execute ( identifier , source , manager )
Executes the haptic feedback action by telling the FeedbackManager to play the defined pattern.
Signature
override void Oculus.Interaction.Feedback.HapticActionSO.Execute(int identifier, GameObject source, FeedbackManager manager)
Parameters
identifier: int  The IInteractorView's unique identifier
source: GameObject  The GameObject that was interacted with (ignored by this specific action).
manager: FeedbackManager  The FeedbackManager instance used to play haptics.
Returns
override void