This works just like NGUIDialogueUI except it uses the speaker's bark UI instead of the dialogue UI labels. More...
Public Member Functions | |
override void | ShowSubtitle (Subtitle subtitle) |
Shows the subtitle (NPC or PC) based on the character type. | |
Public Member Functions inherited from PixelCrushers.DialogueSystem.NGUISupport.NGUIDialogueUI | |
override void | Awake () |
Sets up the component. | |
override void | ShowAlert (string message, float duration) |
Shows an alert. | |
override void | OnContinue () |
Handles the continue button being clicked. | |
override void | Open () |
Opens the conversation GUI. | |
override void | ShowSubtitle (Subtitle subtitle) |
Shows the subtitle (NPC or PC) based on the character type. | |
Public Member Functions inherited from PixelCrushers.DialogueSystem.AbstractDialogueUI | |
virtual void | Start () |
Starts this instance by hiding everything. | |
virtual void | Close () |
Closes the conversation GUI. | |
virtual void | HideAlert () |
Hides the alert if it's showing. | |
virtual void | HideAllAlerts () |
Hides the alert if it's showing. | |
virtual void | Update () |
Updates this instance by hiding the alert message when it's done. | |
virtual void | HideSubtitle (Subtitle subtitle) |
Hides the subtitle based on its character type (PC or NPC). | |
virtual void | ShowContinueButton (Subtitle subtitle) |
Shows the continue button. | |
virtual void | HideContinueButton (Subtitle subtitle) |
Hides the continue button. | |
virtual void | ShowResponses (Subtitle subtitle, Response[] responses, float timeout) |
Shows the player responses menu. | |
virtual void | HideResponses () |
Hides the player response menu. | |
virtual void | ShowQTEIndicator (int index) |
Shows a QTE indicator. | |
virtual void | HideQTEIndicator (int index) |
Hides a QTE indicator. | |
virtual void | OnClick (object data) |
Handles response button clicks. | |
virtual void | OnContinueAlert () |
virtual void | OnContinueConversation () |
virtual void | SetPCPortrait (Sprite portraitSprite, string portraitName) |
Sets the PC portrait name and sprite. | |
virtual void | SetPCPortrait (Texture2D portraitTexture, string portraitName) |
virtual void | SetActorPortraitSprite (string actorName, Sprite portraitSprite) |
Sets the portrait sprite for an actor. | |
Additional Inherited Members | |
Static Public Member Functions inherited from PixelCrushers.DialogueSystem.AbstractDialogueUI | |
static Sprite | GetValidPortraitSprite (string actorName, Sprite portraitSprite) |
Gets a valid portrait sprite. | |
static Texture2D | GetValidPortraitTexture (string actorName, Texture2D portraitTexture) |
Public Attributes inherited from PixelCrushers.DialogueSystem.NGUISupport.NGUIDialogueUI | |
UIRoot | uiRoot |
The UI root. | |
NGUIDialogueControls | dialogue |
The dialogue controls used in conversations. | |
global::UIPanel[] | qteIndicators |
QTE (Quick Time Event) indicators. | |
NGUIAlertControls | alert |
The alert message controls. | |
bool | deactivateUIRootWhenHidden = true |
Protected Member Functions inherited from PixelCrushers.DialogueSystem.AbstractDialogueUI | |
virtual void | SetSubtitle (Subtitle subtitle, bool value) |
Sets a subtitle's content and visibility. | |
Properties inherited from PixelCrushers.DialogueSystem.NGUISupport.NGUIDialogueUI | |
override AbstractUIRoot | uiRootControls [get] |
override AbstractDialogueUIControls | dialogueControls [get] |
override AbstractUIQTEControls | qteControls [get] |
override AbstractUIAlertControls | alertControls [get] |
Properties inherited from PixelCrushers.DialogueSystem.AbstractDialogueUI | |
AbstractUIRoot | uiRootControls [get] |
Gets the user interface root. | |
AbstractDialogueUIControls | dialogueControls [get] |
Gets the dialogue controls. | |
AbstractUIQTEControls | qteControls [get] |
Gets the QTE (Quick Time Event) indicators. | |
AbstractUIAlertControls | alertControls [get] |
Gets the alert message controls. | |
bool | isOpen [get, set] |
Gets or sets a value indicating whether the dialogue UI (conversation interface) is open. | |
virtual bool | AreNonDialogueControlsVisible [get] |
Gets a value indicating whether non-conversation controls (e.g., alert message or QTEs) are visible. | |
Events inherited from PixelCrushers.DialogueSystem.AbstractDialogueUI | |
EventHandler< SelectedResponseEventArgs > | SelectedResponseHandler |
Occurs when the player selects a response. | |
Events inherited from PixelCrushers.DialogueSystem.IDialogueUI | |
EventHandler< SelectedResponseEventArgs > | SelectedResponseHandler |
Your implementation must define this event and make it public. | |
This works just like NGUIDialogueUI except it uses the speaker's bark UI instead of the dialogue UI labels.
|
inlinevirtual |
Shows the subtitle (NPC or PC) based on the character type.
subtitle | Subtitle to show. |
Reimplemented from PixelCrushers.DialogueSystem.AbstractDialogueUI.