PixelCrushers.DialogueSystem.AbstractUISubtitleControls Class Referenceabstract

Abstract subtitle controls. More...

Inheritance diagram for PixelCrushers.DialogueSystem.AbstractUISubtitleControls:
Collaboration diagram for PixelCrushers.DialogueSystem.AbstractUISubtitleControls:

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...
 

Detailed Description

Abstract subtitle controls.

Each GUI system implementation derives its own subclass from this.

Member Function Documentation

◆ ClearSubtitle()

◆ HideContinueButton()

◆ SetActorPortraitTexture()

virtual void PixelCrushers.DialogueSystem.AbstractUISubtitleControls.SetActorPortraitTexture ( string  actorName,
Texture2D  portraitTexture 
)
virtual

◆ SetSubtitle()

◆ ShowContinueButton()

virtual void PixelCrushers.DialogueSystem.AbstractUISubtitleControls.ShowContinueButton ( )
virtual

◆ ShowSubtitle()

virtual void PixelCrushers.DialogueSystem.AbstractUISubtitleControls.ShowSubtitle ( Subtitle  subtitle)
virtual

Shows the subtitle controls.

Parameters
subtitleSubtitle.

Member Data Documentation

◆ currentSubtitle

Subtitle PixelCrushers.DialogueSystem.AbstractUISubtitleControls.currentSubtitle = null
protected

Property Documentation

◆ HasText

abstract bool PixelCrushers.DialogueSystem.AbstractUISubtitleControls.HasText
get

Gets a value indicating whether text has been assigned to the subtitle controls.

true if it has text; otherwise, false.


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