PixelCrushers.DialogueSystem.ConversationPicker Class Reference
Collaboration diagram for PixelCrushers.DialogueSystem.ConversationPicker:

Public Member Functions

 ConversationPicker (DialogueDatabase database, string currentConversation, bool usePicker)
 
void UpdateTitles ()
 
bool Draw (bool showReferenceDatabase=true)
 Draws the conversation picker. More...
 

Public Attributes

DialogueDatabase database = null
 
string currentConversation = string.Empty
 
bool usePicker = false
 

Constructor & Destructor Documentation

◆ ConversationPicker()

PixelCrushers.DialogueSystem.ConversationPicker.ConversationPicker ( DialogueDatabase  database,
string  currentConversation,
bool  usePicker 
)

Member Function Documentation

◆ Draw()

bool PixelCrushers.DialogueSystem.ConversationPicker.Draw ( bool  showReferenceDatabase = true)

Draws the conversation picker.

Parameters
showReferenceDatabaseShow a field where the user can specify a dialogue database.
Returns
True if the conversation selection changed; otherwise false. The conversation is in the public string conversation.

◆ UpdateTitles()

void PixelCrushers.DialogueSystem.ConversationPicker.UpdateTitles ( )

Member Data Documentation

◆ currentConversation

string PixelCrushers.DialogueSystem.ConversationPicker.currentConversation = string.Empty

◆ database

DialogueDatabase PixelCrushers.DialogueSystem.ConversationPicker.database = null

◆ usePicker

bool PixelCrushers.DialogueSystem.ConversationPicker.usePicker = false

The documentation for this class was generated from the following file: