|
EasyTalk API
|
The DialogueRegistry class is used for store and configure information which may be used across dialogue assets and in the editor, such as global variables and character libraries. More...
Public Member Functions | |
| int | FindVariable (string varName) |
| Finds and returns the index of the global variable with the specified name, if it exists. | |
Properties | |
| CharacterLibrary | CharacterLibrary [get, set] |
| Gets or sets the character library to use. | |
| List< GlobalNodeVariable > | GlobalVariables [get, set] |
| Gets or sets the List of global variables to use. | |
| List< NodeType > | TranslatedNodeTypes [get, set] |
| Gets or sets the list of node types which are allowed to be translated. | |
| bool | UseSingleTranslationLibrary [get, set] |
| Gets or sets whether a single translation library should be used, rather than the translation library of an individual dialogue. | |
| TranslationLibrary | TranslationLibrary [get, set] |
| Gets or sets the translation library to use when the registry is set to use a single translation library. | |
Private Attributes | |
| CharacterLibrary | characterLibrary |
| The character library used by the registry. | |
| List< GlobalNodeVariable > | variables = new List<GlobalNodeVariable>() |
| The List of global variables defined in the registry. | |
| List< NodeType > | translatedNodeTypes = new List<NodeType>() { NodeType.CONVO, NodeType.OPTION, NodeType.APPEND } |
| Defines a list of node types which are allowed to be translated. | |
| bool | useSingleTranslationLibrary = false |
| Whether or not a single translation library should be used rather than each dialogue asset's specific library. | |
| TranslationLibrary | translationLibrary = null |
| The translation library to use when using a single library to perform translations. | |
The DialogueRegistry class is used for store and configure information which may be used across dialogue assets and in the editor, such as global variables and character libraries.
| int EasyTalk.Settings.DialogueRegistry.FindVariable | ( | string | varName | ) |
Finds and returns the index of the global variable with the specified name, if it exists.
| varName | The name of the variable to retrieve. |
|
private |
The character library used by the registry.
|
private |
Defines a list of node types which are allowed to be translated.
|
private |
The translation library to use when using a single library to perform translations.
|
private |
Whether or not a single translation library should be used rather than each dialogue asset's specific library.
|
private |
The List of global variables defined in the registry.
|
getset |
Gets or sets the character library to use.
|
getset |
Gets or sets the List of global variables to use.
|
getset |
Gets or sets the list of node types which are allowed to be translated.
|
getset |
Gets or sets the translation library to use when the registry is set to use a single translation library.
|
getset |
Gets or sets whether a single translation library should be used, rather than the translation library of an individual dialogue.