using UnityEngine.Scripting.APIUpdating; using UnityEngine.XR.Interaction.Toolkit.Interactables; using UnityEngine.XR.Interaction.Toolkit.Interactors; namespace UnityEngine.XR.Interaction.Toolkit.Gaze { /// /// An interface that represents an interactable that provides /// overrides of the default values for hover to select and auto deselect. /// /// /// /// [MovedFrom("UnityEngine.XR.Interaction.Toolkit")] public interface IXROverridesGazeAutoSelect { /// /// Enables this interactable to override the on an . /// /// /// bool overrideGazeTimeToSelect { get; } /// /// Number of seconds for which an must hover over this interactable to select it if is enabled. /// /// /// float gazeTimeToSelect { get; } /// /// Enables this interactable to override the on an . /// /// /// bool overrideTimeToAutoDeselectGaze { get; } /// /// Number of seconds that the interactable will remain selected by an before being /// automatically deselected if is true. /// /// float timeToAutoDeselectGaze { get; } } }