// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using UnityEngine;
using UnityEngine.Events;
namespace Microsoft.MixedReality.Toolkit.Experimental.InteractiveElement
{
///
/// The event configuration for the ToggleOn InteractionState.
///
public class ToggleOnEvents : BaseInteractionEventConfiguration
{
[SerializeField]
[Tooltip("Whether on not the toggle is selected when the application starts.")]
private bool isSelectedOnStart = false;
///
/// Whether on not the toggle is selected when the application starts.
///
public bool IsSelectedOnStart
{
get => isSelectedOnStart;
set => isSelectedOnStart = value;
}
///
/// A Unity event that is fired when the ToggleOff state is active.
///
public UnityEvent OnToggleOn = new UnityEvent();
}
}