IDialogueUIControl

SetDialogueController(DialogueController dialogueController)

Called by the dialogue controller in the scene, 
which passes a reference to the dialogue controller to your dialogue ui script.

OnDialogueStart()

Called the first time a dialogue starts

ShowNextDialogueText(DialogueEventData dialogueEventData)

Called every time a new dialogue text is requested

ShowChoices(DialogueEventData dialogueEventData)

Called when choices are requested. To build the UI choices list.

UpdateTimer(float _remainingTime, float _totalTime)

 Constantly called by DialogueController to update the timer UI.

OnDialogueExit()

Called when dialogue is finished, by the OnExitDialogue node.

Last updated