Subtitle GUI controls for UnityDialogueUI.
More...
|
override bool | HasText [get] |
| Gets a value indicating whether text has been assigned to the subtitle controls. More...
|
|
abstract bool | HasText [get] |
| Gets a value indicating whether text has been assigned to the subtitle controls. More...
|
|
◆ ClearSubtitle()
override void PixelCrushers.DialogueSystem.UnityGUI.UnitySubtitleControls.ClearSubtitle |
( |
| ) |
|
|
virtual |
◆ HideContinueButton()
override void PixelCrushers.DialogueSystem.UnityGUI.UnitySubtitleControls.HideContinueButton |
( |
| ) |
|
|
virtual |
◆ SetActive()
override void PixelCrushers.DialogueSystem.UnityGUI.UnitySubtitleControls.SetActive |
( |
bool |
value | ) |
|
|
virtual |
◆ SetActorPortraitTexture()
override void PixelCrushers.DialogueSystem.UnityGUI.UnitySubtitleControls.SetActorPortraitTexture |
( |
string |
actorName, |
|
|
Texture2D |
portraitTexture |
|
) |
| |
|
virtual |
Sets the portrait texture to use in the subtitle if the named actor is the speaker.
This is used to immediately update the GUI control if the SetPortrait() sequencer command changes the portrait texture.
- Parameters
-
actorName | Actor name in database. |
portraitTexture | Portrait texture. |
Reimplemented from PixelCrushers.DialogueSystem.AbstractUISubtitleControls.
◆ SetSubtitle()
override void PixelCrushers.DialogueSystem.UnityGUI.UnitySubtitleControls.SetSubtitle |
( |
Subtitle |
subtitle | ) |
|
|
virtual |
◆ ShowContinueButton()
override void PixelCrushers.DialogueSystem.UnityGUI.UnitySubtitleControls.ShowContinueButton |
( |
| ) |
|
|
virtual |
◆ continueButton
GUIButton PixelCrushers.DialogueSystem.UnityGUI.UnitySubtitleControls.continueButton |
The continue button.
This control is only required if DisplaySettings.waitForContinueButton is true
– in which case this button should send "OnContinue" to the UI when clicked.
◆ line
GUILabel PixelCrushers.DialogueSystem.UnityGUI.UnitySubtitleControls.line |
The label that will show the text of the subtitle.
◆ panel
GUIControl PixelCrushers.DialogueSystem.UnityGUI.UnitySubtitleControls.panel |
The alert panel.
A panel is optional, but you may want one so you can include a background image, panel-wide effects, etc.
◆ portraitImage
GUILabel PixelCrushers.DialogueSystem.UnityGUI.UnitySubtitleControls.portraitImage |
The label that will show the portrait image.
◆ portraitName
GUILabel PixelCrushers.DialogueSystem.UnityGUI.UnitySubtitleControls.portraitName |
The label that will show the name of the speaker.
◆ HasText
override bool PixelCrushers.DialogueSystem.UnityGUI.UnitySubtitleControls.HasText |
|
get |
Gets a value indicating whether text has been assigned to the subtitle controls.
true
if this instance has text; otherwise, false
.
The documentation for this class was generated from the following file:
- D:/Documents/Unity Projects/Dialogue System/Dev/Source/Assets/Dialogue System/Scripts/Supplemental/Unity GUI/Unity Dialogue UI/Dialogue GUI Controls/UnitySubtitleControls.cs