EasyTalk API
Loading...
Searching...
No Matches
EasyTalk.Nodes.Dialogue Class Reference

Defines the structure for an EasyTalk Dialogue asset. More...

Inherits ScriptableObject.

Public Member Functions

Vector2 GetCenter ()
 Returns the center point for the Dialogue.
 

Static Public Attributes

static string VERSION = "1.2.0"
 A string indicating the current version of EasyTalk in use.
 

Properties

string Version [get, set]
 Gets or sets the version number of the dialogue.
 
List< NodeNodes [get, set]
 Gets or sets the List of nodes in the dialogue.
 
int MaxID [get, set]
 Gets or sets the maximum ID used in the Dialogue.
 
TranslationLibrary TranslationLibrary [get, set]
 Gets or sets the translation library to use for the Dialogue.
 

Private Attributes

string version = VERSION
 The version number of the dialogue asset.
 
List< Nodenodes = new List<Node>()
 The List of nodes in the Dialogue.
 
TranslationLibrary translationLibrary
 The library of translations for the Dialogue.
 
int maxID = 0
 The maximum ID used in the dialogue.
 

Detailed Description

Defines the structure for an EasyTalk Dialogue asset.

Member Function Documentation

◆ GetCenter()

Vector2 EasyTalk.Nodes.Dialogue.GetCenter ( )

Returns the center point for the Dialogue.

Returns
The center location of the Dialogue (the average of all of the node positions).

Member Data Documentation

◆ maxID

int EasyTalk.Nodes.Dialogue.maxID = 0
private

The maximum ID used in the dialogue.

◆ nodes

List<Node> EasyTalk.Nodes.Dialogue.nodes = new List<Node>()
private

The List of nodes in the Dialogue.

◆ translationLibrary

TranslationLibrary EasyTalk.Nodes.Dialogue.translationLibrary
private

The library of translations for the Dialogue.

◆ VERSION

string EasyTalk.Nodes.Dialogue.VERSION = "1.2.0"
static

A string indicating the current version of EasyTalk in use.

◆ version

string EasyTalk.Nodes.Dialogue.version = VERSION
private

The version number of the dialogue asset.

Property Documentation

◆ MaxID

int EasyTalk.Nodes.Dialogue.MaxID
getset

Gets or sets the maximum ID used in the Dialogue.

◆ Nodes

List<Node> EasyTalk.Nodes.Dialogue.Nodes
getset

Gets or sets the List of nodes in the dialogue.

◆ TranslationLibrary

TranslationLibrary EasyTalk.Nodes.Dialogue.TranslationLibrary
getset

Gets or sets the translation library to use for the Dialogue.

◆ Version

string EasyTalk.Nodes.Dialogue.Version
getset

Gets or sets the version number of the dialogue.