Popup layaout, customizable.
More...
Inherits MonoBehaviour, and IPopup.
|
|
IPopup | SetWidht (float widht) |
| |
| IPopup | SetTittle (string tittle) |
| | The the tittle.
|
| |
| IPopup | PushBodyPrefab (GameObject prefab, float height) |
| | Instantiate a layout on body and update the height.
|
| |
| IPopup | SetDescription (string description) |
| | Set description on the body.
|
| |
| IPopup | AddCloseButton () |
| | Add a close button.
|
| |
| IPopup | AddCloseButton (Action action) |
| | Add a close button with aditional callback.
|
| |
| IPopup | AddCloseButton (Action[] actions) |
| | Add a array of buttons.
|
| |
| IPopup | DisableAllButons () |
| | Disable all buttons.
|
| |
| IPopup | AddButtonFunction (Action action, string text) |
| | Add a button.
|
| |
| IPopup | AddButtonFunction (Action[] actions, string text) |
| | Add a array of buttons.
|
| |
| IPopup | Open () |
| | Openm the Popup.
|
| |
| void | Close (bool immediateClose=false) |
| | Close the popup.
|
| |
Popup layaout, customizable.
◆ AddButtonFunction() [1/2]
| IPopup GBTemplates.Domino.View.PopupView.AddButtonFunction |
( |
Action | action, |
|
|
string | text ) |
Add a button.
- Parameters
-
- Returns
◆ AddButtonFunction() [2/2]
| IPopup GBTemplates.Domino.View.PopupView.AddButtonFunction |
( |
Action[] | actions, |
|
|
string | text ) |
Add a array of buttons.
- Parameters
-
- Returns
◆ AddCloseButton() [1/3]
| IPopup GBTemplates.Domino.View.PopupView.AddCloseButton |
( |
| ) |
|
Add a close button.
- Returns
◆ AddCloseButton() [2/3]
| IPopup GBTemplates.Domino.View.PopupView.AddCloseButton |
( |
Action | action | ) |
|
Add a close button with aditional callback.
- Parameters
-
- Returns
◆ AddCloseButton() [3/3]
| IPopup GBTemplates.Domino.View.PopupView.AddCloseButton |
( |
Action[] | actions | ) |
|
Add a array of buttons.
- Parameters
-
- Returns
◆ Close()
| void GBTemplates.Domino.View.PopupView.Close |
( |
bool | immediateClose = false | ) |
|
Close the popup.
- Parameters
-
◆ DisableAllButons()
| IPopup GBTemplates.Domino.View.PopupView.DisableAllButons |
( |
| ) |
|
Disable all buttons.
- Returns
◆ Open()
| IPopup GBTemplates.Domino.View.PopupView.Open |
( |
| ) |
|
◆ PushBodyPrefab()
| IPopup GBTemplates.Domino.View.PopupView.PushBodyPrefab |
( |
GameObject | prefab, |
|
|
float | height ) |
Instantiate a layout on body and update the height.
- Parameters
-
- Returns
◆ SetDescription()
| IPopup GBTemplates.Domino.View.PopupView.SetDescription |
( |
string | description | ) |
|
Set description on the body.
- Parameters
-
- Returns
◆ SetTittle()
| IPopup GBTemplates.Domino.View.PopupView.SetTittle |
( |
string | tittle | ) |
|
The the tittle.
- Parameters
-
- Returns
The documentation for this class was generated from the following file:
- C:/UnityDev/Unity - CurrentDev/PERS/domino/Domino-Edu/Assets/DominoTemplate/Scripts/View/General/Popup/PopupView.cs