|
static bool | CheckForOpenDialogs () |
| Checks if there are popup dialogs active More...
|
|
static void | ClearPopUps () |
|
static void | DismissPopup (string name) |
|
static PopupDialog | SpawnPopupDialog (Vector2 anchorMin, Vector2 anchorMax, string dialogName, string title, string message, string buttonMessage, bool persistAcrossScenes, UISkinDef skin, bool isModal=true, string titleExtra="") |
|
static PopupDialog | SpawnPopupDialog (Vector2 anchorMin, Vector2 anchorMax, MultiOptionDialog dialog, bool persistAcrossScenes, UISkinDef skin, bool isModal=true, string titleExtra="") |
|
static PopupDialog | SpawnPopupDialog (MultiOptionDialog dialog, bool persistAcrossScenes, UISkinDef skin, bool isModal=true, string titleExtra="") |
|
static bool PopupDialog.CheckForOpenDialogs |
( |
| ) |
|
|
inlinestatic |
Checks if there are popup dialogs active
- Returns
- returns true if there are any popups already instantiated
static void PopupDialog.ClearPopUps |
( |
| ) |
|
|
inlinestatic |
void PopupDialog.Dismiss |
( |
| ) |
|
|
inline |
Close and clenaup the dialog
void PopupDialog.Dismiss |
( |
bool |
KeepMouseState | ) |
|
|
inline |
Close and clenaup the dialog
- Parameters
-
KeepMouseState | Whether to save the mouse state from being cleared. Keeping tjhis will mean that double-clicks will work after a diakog is dismissed |
static void PopupDialog.DismissPopup |
( |
string |
name | ) |
|
|
inlinestatic |
void PopupDialog.OnRectTransformDimensionsChange |
( |
| ) |
|
|
inlineprotected |
void PopupDialog.SetDraggable |
( |
bool |
draggable | ) |
|
|
inline |
static PopupDialog PopupDialog.SpawnPopupDialog |
( |
Vector2 |
anchorMin, |
|
|
Vector2 |
anchorMax, |
|
|
string |
dialogName, |
|
|
string |
title, |
|
|
string |
message, |
|
|
string |
buttonMessage, |
|
|
bool |
persistAcrossScenes, |
|
|
UISkinDef |
skin, |
|
|
bool |
isModal = true , |
|
|
string |
titleExtra = "" |
|
) |
| |
|
inlinestatic |
static PopupDialog PopupDialog.SpawnPopupDialog |
( |
Vector2 |
anchorMin, |
|
|
Vector2 |
anchorMax, |
|
|
MultiOptionDialog |
dialog, |
|
|
bool |
persistAcrossScenes, |
|
|
UISkinDef |
skin, |
|
|
bool |
isModal = true , |
|
|
string |
titleExtra = "" |
|
) |
| |
|
inlinestatic |
string PopupDialog.defaultSkinName = "MainMenuSkin" |
bool PopupDialog.modal = true |
UnityEngine.Events.UnityEvent PopupDialog.onDestroy = new UnityEngine.Events.UnityEvent() |
GameObject PopupDialog.popupWindow |
bool PopupDialog.IsDraggable |
|
get |
RectTransform PopupDialog.RTrf |
|
get |
The documentation for this class was generated from the following file: