Choice

🔀 Choice Struct

Represents a dialogue choice.

Namespace: Esper.FeelSpeak.Graph.Data Type: struct


📦 Fields

Access
Field
Type
Description

public

name

string

The name of the choice. Ideally, this should be unique.

public

text

string

The choice text that the player will see. This is used only if localization is disabled.

public

index

int

The index of this choice.

public

localizedTexts

List<LocaleString>

A list of localized texts for each locale. This is used if localization is enabled.


🧰 Methods

Access
Method
Returns
Description

public

GetText()

string

Gets the choice text of a specific locale or the unlocalized text if localization is disabled.

public

GetInterpolatedText()

string

Gets the choice text with object tag interpolation applied.

Last updated