TextStudio3DDwellIndicator
[AddComponentMenu("Text Studio/Spatial UI/3D Dwell Indicator")][DisallowMultipleComponent]public sealed class TextStudio3DDwellIndicator : MonoBehaviourTracks uninterrupted gaze hover, presents normalized dwell progress, and optionally activates its control.
Methods
Section titled “Methods”
SetProgress(float)
Section titled “SetProgress(float)”public void SetProgress(float progress)Sets normalized dwell progress, updates the fill, and emits completion once upon reaching one.
Parameters
| Name | Type |
|---|---|
progress |
System.Single |
Constructors
Section titled “Constructors”
TextStudio3DDwellIndicator()
Section titled “TextStudio3DDwellIndicator()”public TextStudio3DDwellIndicator()Properties
Section titled “Properties”
Progress
Section titled “Progress”public float Progress { get; }Returns
System.Single
OnProgressChanged
Section titled “OnProgressChanged”public UnityEvent<float> OnProgressChanged { get; }Returns
UnityEngine.Events.UnityEvent{System.Single}
OnCompleted
Section titled “OnCompleted”public UnityEvent OnCompleted { get; }Returns
UnityEngine.Events.UnityEvent