// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using UnityEngine.Events;
namespace Microsoft.MixedReality.Toolkit.Experimental.InteractiveElement
{
///
/// The event configuration for the PressedNear InteractionState. This state is specific to the
/// CompressableButton class.
///
public class PressedNearEvents : BaseInteractionEventConfiguration
{
///
/// Fired when a button is pressed via near interaction.
///
public UnityEvent OnButtonPressed = new UnityEvent();
///
/// Fired when a button press is released via near interaction.
///
public UnityEvent OnButtonPressReleased = new UnityEvent();
///
/// Fired when a button is currently being pressed.
///
public UnityEvent OnButtonPressHold = new UnityEvent();
}
}