Dialogue Node

💬 DialogueNode Class

A node that contains dialogue data.

Namespace: Esper.FeelSpeak.Graph Inherits from: Node Type: class


📦 Fields

Access
Field
Type
Description

public

character

Character

The character saying the dialogue.

public

emotion

Emotion

The emotion the character is feeling. This applies the emotion settings to adjust the behaviour of how dialogue is displayed.

public

suppressEmotionAnimation

bool

If enabled, the emotion animation of the speaker will not be invoked.

public

suppressEmotionSound

bool

If enabled, the emotion sound will not play for this dialogue.

public

automaticNextOnComplete

bool

If the next node should be triggered right away when this dialogue is complete.

public

automaticNextDelay

float

The length of time automatic next on complete is delayed.

public

dialogue

string

The dialogue text. This is used when localization is disabled.

public

voiceLine

AudioClip

The voice line that represents the dialogue. This is used when localization is disabled.


🧰 Methods

Access
Method
Returns
Description

public

DialogueNode(int, Vector2)

-

Constructor that initializes the node with ID and position.

public

IsComplete()

bool

Checks if the node is complete and ready for execution.

public

GetInterpolatedDialogue()

string

Gets the dialogue with object tag interpolation. "???" is used if a character or emotion doesn't exist.

public

CreateCopy()

DialogueNode

Creates a copy of this node.

public

InvokeEvent()

void

Invokes the dialogue node triggered event.

Last updated