Abstract subtitle controls. More...
Public Member Functions | |
abstract void | SetSubtitle (Subtitle subtitle) |
Sets the subtitle controls' contents. More... | |
abstract void | ClearSubtitle () |
Clears the subtitle controls' contents. More... | |
virtual void | ShowContinueButton () |
Shows the continue button. More... | |
virtual void | HideContinueButton () |
Hides the continue button. More... | |
virtual void | ShowSubtitle (Subtitle subtitle) |
Shows the subtitle controls. More... | |
virtual void | SetActorPortraitTexture (string actorName, Texture2D portraitTexture) |
Sets the portrait texture to use in the subtitle if the named actor is the speaker. More... | |
Public Member Functions inherited from PixelCrushers.DialogueSystem.AbstractUIControls | |
abstract void | SetActive (bool value) |
Sets the controls active/inactive. More... | |
void | Show () |
Shows the controls by setting them active. More... | |
void | Hide () |
Hides the controls by setting them inactive. More... | |
Protected Attributes | |
Subtitle | currentSubtitle = null |
Properties | |
abstract bool | HasText [get] |
Gets a value indicating whether text has been assigned to the subtitle controls. More... | |
Abstract subtitle controls.
Each GUI system implementation derives its own subclass from this.
|
pure virtual |
Clears the subtitle controls' contents.
Implemented in PixelCrushers.DialogueSystem.UnityUISubtitleControls, PixelCrushers.DialogueSystem.TextMeshPro.TextMeshProSubtitleControls, PixelCrushers.DialogueSystem.DaikonForgeGUI.DaikonForgeSubtitleControls, PixelCrushers.DialogueSystem.NGUI.NGUISubtitleControls, PixelCrushers.DialogueSystem.TK2D.TK2DSubtitleControls, and PixelCrushers.DialogueSystem.UnityGUI.UnitySubtitleControls.
|
virtual |
Hides the continue button.
Reimplemented in PixelCrushers.DialogueSystem.UnityUISubtitleControls, PixelCrushers.DialogueSystem.TextMeshPro.TextMeshProSubtitleControls, PixelCrushers.DialogueSystem.UnityGUI.UnitySubtitleControls, PixelCrushers.DialogueSystem.DaikonForgeGUI.DaikonForgeSubtitleControls, PixelCrushers.DialogueSystem.NGUI.NGUISubtitleControls, and PixelCrushers.DialogueSystem.TK2D.TK2DSubtitleControls.
|
virtual |
Sets the portrait texture to use in the subtitle if the named actor is the speaker.
actorName | Actor name in database. |
portraitTexture | Portrait texture. |
Reimplemented in PixelCrushers.DialogueSystem.UnityUISubtitleControls, PixelCrushers.DialogueSystem.TextMeshPro.TextMeshProSubtitleControls, PixelCrushers.DialogueSystem.DaikonForgeGUI.DaikonForgeSubtitleControls, PixelCrushers.DialogueSystem.NGUI.NGUISubtitleControls, and PixelCrushers.DialogueSystem.UnityGUI.UnitySubtitleControls.
|
pure virtual |
Sets the subtitle controls' contents.
subtitle | Subtitle. |
Implemented in PixelCrushers.DialogueSystem.UnityUISubtitleControls, PixelCrushers.DialogueSystem.TextMeshPro.TextMeshProSubtitleControls, PixelCrushers.DialogueSystem.DaikonForgeGUI.DaikonForgeSubtitleControls, PixelCrushers.DialogueSystem.NGUI.NGUISubtitleControls, PixelCrushers.DialogueSystem.TK2D.TK2DSubtitleControls, and PixelCrushers.DialogueSystem.UnityGUI.UnitySubtitleControls.
|
virtual |
Shows the continue button.
Reimplemented in PixelCrushers.DialogueSystem.UnityUISubtitleControls, PixelCrushers.DialogueSystem.TextMeshPro.TextMeshProSubtitleControls, and PixelCrushers.DialogueSystem.UnityGUI.UnitySubtitleControls.
|
virtual |
Shows the subtitle controls.
subtitle | Subtitle. |
|
protected |
|
get |
Gets a value indicating whether text has been assigned to the subtitle controls.
true
if it has text; otherwise, false
.