Class DialogueBubbleResponse
A responder component for handling DialogueEntry typewriter entries. Passes the entry data to a linked DialoguePresenter to update the dialogue bubble UI.
[RequireComponent(typeof(TypewriterActor))]
public class DialogueBubbleResponse : MonoBehaviour, IEntryResponser<DialogueEntry>, IEntryResponser
Inheritance
Implements
Methods
HandleEntry(BaseEntry, ITypewriterContext)
Handles an incoming typewriter BaseEntry.
public void HandleEntry(BaseEntry entry, ITypewriterContext context)
Parameters
| Name | Type | Description |
|---|---|---|
entry | BaseEntry | The typewriter entry that this responder will process. |
context | ITypewriterContext | The context instance providing access to blackboards and runtime data shared with other entries in the same scope. |
HandleEntry(DialogueEntry, ITypewriterContext)
Handles an incoming DialogueEntry by forwarding it to the configured DialoguePresenter to be visually displayed.
public void HandleEntry(DialogueEntry entry, ITypewriterContext context)
Parameters
| Name | Type | Description |
|---|---|---|
entry | DialogueEntry | The dialogue entry to display. |
context | ITypewriterContext | The context instance providing access to blackboards and runtime data shared with other entries in the same scope. |