// -------------------------------------------------------------------------------------------------------------------- // // Copyright (c) VRMADA, All rights reserved. // // -------------------------------------------------------------------------------------------------------------------- using UltimateXR.Core.Components; namespace UltimateXR.Haptics.Helpers { /// /// Base class for components that, added to an object, can receive notifications when a collider on the same object or /// any of its children gets hit with a component. /// public abstract class UxrHapticImpactReceiver : UxrComponent { #region Event Trigger Methods /// /// Overridable method that gets called whenever an object with a hits the collider /// with the or any of its children. /// /// Source component /// Event parameters public virtual void OnHit(UxrHapticOnImpact sender, UxrHapticImpactEventArgs eventArgs) { } #endregion } }