Sets the Dialogue System's language to match I2 Localization's language. More...
Public Types | |
enum | AssetIdentifierType { ID , Name } |
enum | DialogueEntryInfo { None , Actor , Text } |
Public Member Functions | |
virtual void | UseCurrentI2Language () |
Updates the Dialogue System's current language setting to match i2. | |
virtual void | UpdateActorDisplayNames () |
Update Display Name fields with values in i2. | |
Public Attributes | |
AssetIdentifierType | assetsUse = AssetIdentifierType.ID |
I2LanguageIdentifierType | specifyLanguageBy = I2LanguageIdentifierType.LanguageCode |
DialogueEntryInfo | extraEntryInfo = DialogueEntryInfo.None |
int | dialogueEntryMinDigits = 1 |
bool | useI2LanguageOnStart = true |
bool | useI2LanguageAtRuntime = false |
bool | updateActorDisplayNamesOnConversationStart = false |
Protected Member Functions | |
virtual void | Start () |
virtual void | OnConversationStart (Transform actor) |
virtual void | OnConversationLine (Subtitle subtitle) |
If useI2LanguageAtRuntime is true, replaces the subtitle's formatted text with its i2 runtime translation. | |
virtual void | OnConversationResponseMenu (Response[] responses) |
If useI2LanguageAtRuntime is true, replaces the responses' formatted text with their i2 runtime translations. | |
string | GetDialogueEntryHeader (DialogueEntry entry) |
string | SanitizedConversationTitle (int conversationID) |
string | SanitizeTerm (string s) |
Sets the Dialogue System's language to match I2 Localization's language.
Add to the Dialogue Manager.
|
inlineprotected |
|
inlineprotectedvirtual |
If useI2LanguageAtRuntime is true, replaces the subtitle's formatted text with its i2 runtime translation.
|
inlineprotectedvirtual |
If useI2LanguageAtRuntime is true, replaces the responses' formatted text with their i2 runtime translations.
|
inlineprotectedvirtual |
|
inlineprotected |
|
inlineprotected |
|
inlineprotectedvirtual |
|
inlinevirtual |
Update Display Name fields with values in i2.
|
inlinevirtual |
Updates the Dialogue System's current language setting to match i2.
AssetIdentifierType PixelCrushers.DialogueSystem.I2Support.DialogueSystemUseI2Language.assetsUse = AssetIdentifierType.ID |
int PixelCrushers.DialogueSystem.I2Support.DialogueSystemUseI2Language.dialogueEntryMinDigits = 1 |
DialogueEntryInfo PixelCrushers.DialogueSystem.I2Support.DialogueSystemUseI2Language.extraEntryInfo = DialogueEntryInfo.None |
I2LanguageIdentifierType PixelCrushers.DialogueSystem.I2Support.DialogueSystemUseI2Language.specifyLanguageBy = I2LanguageIdentifierType.LanguageCode |
bool PixelCrushers.DialogueSystem.I2Support.DialogueSystemUseI2Language.updateActorDisplayNamesOnConversationStart = false |
bool PixelCrushers.DialogueSystem.I2Support.DialogueSystemUseI2Language.useI2LanguageAtRuntime = false |
bool PixelCrushers.DialogueSystem.I2Support.DialogueSystemUseI2Language.useI2LanguageOnStart = true |