C# Class DialogueController, XMGDialogue

Inheritance: MonoBehaviour
显示文件 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_oe property

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

conversationNodes protected_oe property

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

currentNode protected_oe property

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

eventActionList protected_oe property

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

registeredActions protected_oe property

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