// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using UnityEngine.EventSystems; namespace Microsoft.MixedReality.Toolkit.Input { /// /// Interface to implement to react to source state changes, such as when an input source is detected or lost. /// public interface IMixedRealitySourceStateHandler : IEventSystemHandler { /// /// Raised when a source is detected. /// void OnSourceDetected(SourceStateEventData eventData); /// /// Raised when a source is lost. /// void OnSourceLost(SourceStateEventData eventData); } }