Struct DialogResult
Represents a raw response value to a dialog.
public struct DialogResult
- Inherited Members
Constructors
DialogResult(DialogResponse, int, string?)
Initializes a new instance of the DialogResult struct.
public DialogResult(DialogResponse response, int listItem, string? inputText)
Parameters
responseDialogResponseThe way in which the player has responded to the dialog.
listItemintThe index of item selected by the player in the dialog.
inputTextstringThe text entered by the player in the dialog.
Properties
InputText
Gets the text entered by the player in the dialog.
public readonly string? InputText { get; }
Property Value
ListItem
Gets the index of item selected by the player in the dialog.
public readonly int ListItem { get; }
Property Value
Response
Gets the way in which the player has responded to the dialog.
public readonly DialogResponse Response { get; }