Skip to content

ITextStudioController

InterfaceTextStudioTextStudio
public interface ITextStudioController

Restricted playback controller exposed to custom actions while they execute.

void SetRevealSpeed(float multiplier)

Changes the reveal-rate multiplier for subsequent updates.

Parameters

Name Type Description
multiplier System.Single Non-negative multiplier, where 1 uses authored timing.
void PauseReveal()

Pauses reveal while preserving its current position.

void ResumeReveal()

Resumes reveal from its paused position.

void SkipCurrentWait()

Requests cooperative cancellation of the active wait and resumes reveal.

float RevealProgress { get; }

Gets normalized reveal progress from 0 to 1.

Returns

System.Single

int RevealedGlyphCount { get; }

Gets the number of semantic glyphs currently revealed.

Returns

System.Int32

int TotalGlyphCount { get; }

Gets the number of visible semantic glyphs in the current plan.

Returns

System.Int32

bool IsRevealing { get; }

Gets whether reveal playback is currently advancing.

Returns

System.Boolean

bool IsRevealPaused { get; }

Gets whether reveal playback is paused.

Returns

System.Boolean

MonoBehaviour CoroutineHost { get; }

Gets the component that owns action coroutines.

Returns

UnityEngine.MonoBehaviour

event Action<string, string[]> OnMarkerReached

Occurs when playback reaches an authored marker.

Returns

System.Action{System.String,System.String[]}