Skip to content

TextStudio3DDwellIndicator

ClassTextStudio.ThreeDTextStudio.3D
[AddComponentMenu("Text Studio/Spatial UI/3D Dwell Indicator")]
[DisallowMultipleComponent]
public sealed class TextStudio3DDwellIndicator : MonoBehaviour

Tracks uninterrupted gaze hover, presents normalized dwell progress, and optionally activates its control.

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

public TextStudio3DDwellIndicator()

public float Progress { get; }

Returns

System.Single

public UnityEvent<float> OnProgressChanged { get; }

Returns

UnityEngine.Events.UnityEvent{System.Single}

public UnityEvent OnCompleted { get; }

Returns

UnityEngine.Events.UnityEvent