Antura  1.1.0
Antura.UI.PromptPanel Class Reference

Shows an interactive YES/NO prompt panel. Uses callbacks to determine how to react to user input. More...

Inheritance diagram for Antura.UI.PromptPanel:

Public Member Functions

void Show (Database.LocalizationDataId id, Action _onYes, Action _onNo)
 
void Show (string _messageAr, Action _onYes, Action _onNo)
 
void Show (string _messageAr, string _messageEn, Action _onYes, Action _onNo)
 
void Close ()
 

Public Attributes

RectTransform Content
 
TextRender TfMessageArabic
 
TextRender TfMessageEnglish
 
TextRender TfMessageEnglishFull
 
UIButton BtYes
 

Detailed Description

Shows an interactive YES/NO prompt panel. Uses callbacks to determine how to react to user input.

Member Function Documentation

◆ Close()

void Antura.UI.PromptPanel.Close ( )

◆ Show() [1/3]

void Antura.UI.PromptPanel.Show ( Database.LocalizationDataId  id,
Action  _onYes,
Action  _onNo 
)

◆ Show() [2/3]

void Antura.UI.PromptPanel.Show ( string  _messageAr,
Action  _onYes,
Action  _onNo 
)

◆ Show() [3/3]

void Antura.UI.PromptPanel.Show ( string  _messageAr,
string  _messageEn,
Action  _onYes,
Action  _onNo 
)

Member Data Documentation

◆ BtYes

UIButton Antura.UI.PromptPanel.BtYes

◆ Content

RectTransform Antura.UI.PromptPanel.Content

◆ TfMessageArabic

TextRender Antura.UI.PromptPanel.TfMessageArabic

◆ TfMessageEnglish

TextRender Antura.UI.PromptPanel.TfMessageEnglish

◆ TfMessageEnglishFull

TextRender Antura.UI.PromptPanel.TfMessageEnglishFull

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