EasyTalk API
Loading...
Searching...
No Matches
EasyTalk.Nodes.Common.OptionItem Class Reference

Defines a dialogue option item. More...

Inherits EasyTalk.Nodes.Core.ListItem.

Public Member Functions

 OptionItem ()
 Creates a new OptionItem.
 
 OptionItem (string text)
 Creates a new OptionItem with the provided text value.
 
- Public Member Functions inherited from EasyTalk.Nodes.Core.ListItem
 ListItem ()
 

Public Attributes

string text
 The text of the dialogue option.
 

Detailed Description

Defines a dialogue option item.

Constructor & Destructor Documentation

◆ OptionItem() [1/2]

EasyTalk.Nodes.Common.OptionItem.OptionItem ( )

Creates a new OptionItem.

◆ OptionItem() [2/2]

EasyTalk.Nodes.Common.OptionItem.OptionItem ( string text)

Creates a new OptionItem with the provided text value.

Parameters
textThe text of the dialogue option.

Member Data Documentation

◆ text

string EasyTalk.Nodes.Common.OptionItem.text

The text of the dialogue option.