Skip to main content

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​

NameTypeDescription
entryBaseEntryThe typewriter entry that this responder will process.
contextITypewriterContextThe 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​

NameTypeDescription
entryDialogueEntryThe dialogue entry to display.
contextITypewriterContextThe context instance providing access to blackboards and runtime data shared with other entries in the same scope.
  • Methods
    • HandleEntry(BaseEntry, ITypewriterContext)
    • HandleEntry(DialogueEntry, ITypewriterContext)