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

An item representing a line of dialogue in a conversation node. More...

Inherits EasyTalk.Nodes.Core.ListItem.

Public Member Functions

 ConversationItem ()
 Creates a new ConversationItem.
 
 ConversationItem (string text, AudioClip audioClip, string audioClipFile)
 Creates a new ConversationItem with the provided values.
 
- Public Member Functions inherited from EasyTalk.Nodes.Core.ListItem
 ListItem ()
 

Properties

string Text [get, set]
 Gets or sets the text of the line of dialogue.
 
AudioClip AudioClip [get, set]
 Gets or sets the audio clip attributed to the line of dialogue.
 
int AudioAssetID [get, set]
 Gets or sets the asset ID of the audio clip attributed to the line of dialogue.
 
string AudioClipFile [get, set]
 Gets or sets the audio clip file path attributed to the line of dialogue.
 

Private Attributes

string text
 The text of the line of dialogue.
 
AudioClip audioClip
 The audio clip attributed to the line of dialogue.
 
string audioClipFile
 The audio clip file attributed to the line of dialogue.
 
int audioAssetID
 The asset ID of the audio file attributed to the line of dialogue.
 

Detailed Description

An item representing a line of dialogue in a conversation node.

Constructor & Destructor Documentation

◆ ConversationItem() [1/2]

EasyTalk.Nodes.Common.ConversationItem.ConversationItem ( )

Creates a new ConversationItem.

◆ ConversationItem() [2/2]

EasyTalk.Nodes.Common.ConversationItem.ConversationItem ( string text,
AudioClip audioClip,
string audioClipFile )

Creates a new ConversationItem with the provided values.

Parameters
textThe text of the line of dialogue.
audioClipThe audio clip attributed to the line of dialogue.
audioClipFileThe filepath to the audio file.

Member Data Documentation

◆ audioAssetID

int EasyTalk.Nodes.Common.ConversationItem.audioAssetID
private

The asset ID of the audio file attributed to the line of dialogue.

◆ audioClip

AudioClip EasyTalk.Nodes.Common.ConversationItem.audioClip
private

The audio clip attributed to the line of dialogue.

◆ audioClipFile

string EasyTalk.Nodes.Common.ConversationItem.audioClipFile
private

The audio clip file attributed to the line of dialogue.

◆ text

string EasyTalk.Nodes.Common.ConversationItem.text
private

The text of the line of dialogue.

Property Documentation

◆ AudioAssetID

int EasyTalk.Nodes.Common.ConversationItem.AudioAssetID
getset

Gets or sets the asset ID of the audio clip attributed to the line of dialogue.

◆ AudioClip

AudioClip EasyTalk.Nodes.Common.ConversationItem.AudioClip
getset

Gets or sets the audio clip attributed to the line of dialogue.

◆ AudioClipFile

string EasyTalk.Nodes.Common.ConversationItem.AudioClipFile
getset

Gets or sets the audio clip file path attributed to the line of dialogue.

◆ Text

string EasyTalk.Nodes.Common.ConversationItem.Text
getset

Gets or sets the text of the line of dialogue.