// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using UnityEngine; namespace Microsoft.MixedReality.Toolkit.Experimental.InteractiveElement { /// /// Base class for interaction event configuration. An event configuration maps to a single Interaction State. /// [System.Serializable] public class BaseInteractionEventConfiguration : IStateEventConfig { [SerializeField, HideInInspector] private string stateName = null; /// /// The name of the state associated with this event configuration. /// public string StateName { get => stateName; set => stateName = value; } /// /// The associated runtime event receiver for this event configuration. /// public BaseEventReceiver EventReceiver { get; set; } = null; } }