Integrates Ink with the Dialogue System. More...
Public Member Functions | |
void | AddStory (string storyTitle, string storyJSON) |
Adds a story at runtime. More... | |
void | SetInkBool (string variableName, bool value) |
void | SetInkNumber (string variableName, double value) |
void | SetInkString (string variableName, string value) |
Public Attributes | |
List< TextAsset > | inkJSONAssets = new List<TextAsset>() |
bool | resetStateOnConversationStart = false |
bool | includeInSaveData = true |
Properties | |
List< Story > | stories [get, set] |
Story | activeStory [get] |
bool | showPCSubtitles [get, set] |
DialogueDatabase | database [get] |
Integrates Ink with the Dialogue System.
In this integration, Ink does the processing, and the Dialogue System does the UI and handles triggers. It also handles saving/loading and exposes functions to manage quests and show alerts.
void PixelCrushers.DialogueSystem.InkSupport.DialogueSystemInkIntegration.AddStory | ( | string | storyTitle, |
string | storyJSON | ||
) |
Adds a story at runtime.
storyTitle | The story's title. |
storyText | The story in JSON format. |
void PixelCrushers.DialogueSystem.InkSupport.DialogueSystemInkIntegration.SetInkBool | ( | string | variableName, |
bool | value | ||
) |
void PixelCrushers.DialogueSystem.InkSupport.DialogueSystemInkIntegration.SetInkNumber | ( | string | variableName, |
double | value | ||
) |
void PixelCrushers.DialogueSystem.InkSupport.DialogueSystemInkIntegration.SetInkString | ( | string | variableName, |
string | value | ||
) |
bool PixelCrushers.DialogueSystem.InkSupport.DialogueSystemInkIntegration.includeInSaveData = true |
List<TextAsset> PixelCrushers.DialogueSystem.InkSupport.DialogueSystemInkIntegration.inkJSONAssets = new List<TextAsset>() |
bool PixelCrushers.DialogueSystem.InkSupport.DialogueSystemInkIntegration.resetStateOnConversationStart = false |
|
get |
|
get |
|
getset |
|
getset |