C# Class DialogueController, XMGDialogue

Inheritance: MonoBehaviour
Show file Open project: xmgstudio/XMGDialogue Class Usage Examples

Protected Properties

Property Type Description
context AbstractDialogueContext
conversationNodes List
currentNode ConversationNode
eventActionList DialogueActionDelegate>.Dictionary
registeredActions List>.Dictionary

Public Methods

Method Description
DialogueController ( List dialogueTree, AbstractDialogueContext, context ) : System

Sets up this dialogue controller with a given dialogue tree.

Method Details

DialogueController() public method

Sets up this dialogue controller with a given dialogue tree.
public DialogueController ( List dialogueTree, AbstractDialogueContext, context ) : System
dialogueTree List Dialogue tree to load.
context AbstractDialogueContext, The dialogue context to display to.
return System

Property Details

context protected property

The dialogue context that this controller is using for display.
protected AbstractDialogueContext context
return AbstractDialogueContext

conversationNodes protected property

The conversation nodes that make up the dialogue tree.
protected List conversationNodes
return List

currentNode protected property

The current node that is being processed.
protected ConversationNode currentNode
return ConversationNode

eventActionList protected property

The event action list.
protected Dictionary eventActionList
return DialogueActionDelegate>.Dictionary

registeredActions protected property

The list of registered actions for each action tag.
protected Dictionary> registeredActions
return List>.Dictionary