Antura  1.1.0
Antura.UI.WidgetSubtitles Class Reference

Shows a popup with text subtitles. Used by the Keeper. More...

Inheritance diagram for Antura.UI.WidgetSubtitles:

Public Member Functions

void DisplayDebug (string _sentence)
 
void DisplaySentence (Database.LocalizationDataId _sentenceId, float _duration=2, bool _isKeeper=false, System.Action _callback=null)
 Activate view elements if SentenceId != "" and display sentence. More...
 
void DisplaySentence (string _sentenceId, float _duration=2, bool _isKeeper=false, System.Action _callback=null)
 
void DisplaySentence (Database.LocalizationData data, float _duration=2, bool _isKeeper=false, System.Action _callback=null)
 Activate view elements if SentenceId != "" and display sentence. More...
 
void Close (bool _immediate=false)
 

Public Attributes

Color BgNoKeeperColor = Color.white
 
GameObject Background
 
TextMeshProUGUI TextUI
 
WalkieTalkie WalkieTalkie
 

Static Public Attributes

static WidgetSubtitles I
 

Detailed Description

Shows a popup with text subtitles. Used by the Keeper.

Member Function Documentation

◆ Close()

void Antura.UI.WidgetSubtitles.Close ( bool  _immediate = false)

◆ DisplayDebug()

void Antura.UI.WidgetSubtitles.DisplayDebug ( string  _sentence)

◆ DisplaySentence() [1/3]

void Antura.UI.WidgetSubtitles.DisplaySentence ( Database.LocalizationDataId  _sentenceId,
float  _duration = 2,
bool  _isKeeper = false,
System.Action  _callback = null 
)

Activate view elements if SentenceId != "" and display sentence.

◆ DisplaySentence() [2/3]

void Antura.UI.WidgetSubtitles.DisplaySentence ( string  _sentenceId,
float  _duration = 2,
bool  _isKeeper = false,
System.Action  _callback = null 
)

◆ DisplaySentence() [3/3]

void Antura.UI.WidgetSubtitles.DisplaySentence ( Database.LocalizationData  data,
float  _duration = 2,
bool  _isKeeper = false,
System.Action  _callback = null 
)

Activate view elements if SentenceId != "" and display sentence.

Member Data Documentation

◆ Background

GameObject Antura.UI.WidgetSubtitles.Background

◆ BgNoKeeperColor

Color Antura.UI.WidgetSubtitles.BgNoKeeperColor = Color.white

◆ I

WidgetSubtitles Antura.UI.WidgetSubtitles.I
static

◆ TextUI

TextMeshProUGUI Antura.UI.WidgetSubtitles.TextUI

◆ WalkieTalkie

WalkieTalkie Antura.UI.WidgetSubtitles.WalkieTalkie

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