My Project
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Popup Class Reference
Inheritance diagram for Popup:

Public Member Functions

bool IsOpen ()
 
void ClearPopup ()
 
void ClearPopupIfNonModal ()
 
bool IsModal ()
 
void Show (string text, float durationSecs=0.0f, Action onDurationEnd=null)
 
void Show (string text, Func< bool > failFunc)
 
void ShowOK (string text, Action onOK=null)
 
void ShowYesNo (string text, Action onYes, Action onNo)
 
void OnPopupOK ()
 
void OnPopupYES ()
 
void OnPopupNO ()
 
void TakeInput (string text, string defalt, Action< string > onOK, Action onBack=null)
 
void OnInputOK ()
 
void OnInputBack ()
 

Public Attributes

GameObject popupWindow
 
Button popupOKButton
 
Button popupYESButton
 
Button popupNOButton
 
Text popupText
 
GameObject inputWindow
 
Button inputOKButton
 
Button inputBackButton
 
Text inputText
 
InputField input
 
float lastPopupTime
 

Static Public Attributes

static Popup Get
 
static float doubleKeyDelay = 0.2f
 

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