Progression Service
Description
Manages timed auto-advancement of beat groups and the countdown timer for timed options. When a beat group is set up with auto-progression, the service waits for the group's calculated duration plus any reading hold, then advances. When the beat group's progression data carries a time limit, it drives a countdown bar and auto-selects the default option when time runs out.
For the authoring-side view, see Progression and Timing.
Interface
| Type |
|---|
| IChatProgressionService |
Inherits
| Type |
|---|
| N/A |
It is a plain class, not a MonoBehaviour. ChatSystemService constructs one per conversation.
Public Methods
| Name | Parameters | Return Type | Description |
|---|---|---|---|
| Setup | DialogueBeatGroupData beatGroup, bool isFinalBeat | void | Begins timing for a beat group. isFinalBeat decides whether expiry advances or shows options. |
| Setup | DialogueBeatGroupData beatGroup, bool isFinalBeat, bool revealedGradually | void | As above, but reports whether the text was typewritten so the reading hold can be shortened. |
| Stop | N/A | void | Cancels any active progression or countdown timer. |
| CalcuateChatLineTime | DialogueBeatGroupData beatGroup | float | Returns the beat group's duration. (The method name is misspelled in the shipped API.) |