UxrHapticImpactReceiver.OnHit Method

Overridable method that gets called whenever an object with a UxrHapticOnImpact hits the collider with the UxrHapticImpactReceiver or any of its children.

Namespace: UltimateXR.Haptics.Helpers
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

public virtual void OnHit(
	UxrHapticOnImpact sender,
	UxrHapticImpactEventArgs eventArgs
)

Parameters

 

sender
Type: UltimateXR.Haptics.Helpers.UxrHapticOnImpact
Source component
eventArgs
Type: UltimateXR.Haptics.Helpers.UxrHapticImpactEventArgs
Event parameters

See Also

Reference

UxrHapticImpactReceiver Class
UltimateXR.Haptics.Helpers Namespace