Skip to main content

Progression Service

Description

Manages timed auto-advancement of dialogue beats and countdown timers for timed options. After a beat group's calculated duration elapses, it advances to the next beat or displays options. When a time limit is configured, it shows a countdown bar and auto-selects the default option when time runs out.

Interface

Type
IChatProgressionService

Inherits

Type
MonoBehaviour

Public Methods

NameParametersReturn TypeDescription
StartProgressionProgressionData data, float durationvoidBegins a timed progression for the current beat group.
StartTimedOptionsProgressionData data, Action<int> onExpiredvoidBegins a countdown timer that auto-selects when time runs out.
StopProgressionN/AvoidCancels any active progression or countdown timer.