GB Template - Dominoe 1.0
Loading...
Searching...
No Matches
GBTemplates.Domino.View.PopupView Class Reference

Popup layaout, customizable. More...

Inherits MonoBehaviour, and IPopup.

Public Member Functions

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.
 

Properties

AnimatedButtonView[] _buttons [get]
 
bool IsOpened = false [get]
 

Detailed Description

Popup layaout, customizable.

Member Function Documentation

◆ AddButtonFunction() [1/2]

IPopup GBTemplates.Domino.View.PopupView.AddButtonFunction ( Action action,
string text )

Add a button.

Parameters
action
text
Returns

◆ AddButtonFunction() [2/2]

IPopup GBTemplates.Domino.View.PopupView.AddButtonFunction ( Action[] actions,
string text )

Add a array of buttons.

Parameters
actions
text
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
action
Returns

◆ AddCloseButton() [3/3]

IPopup GBTemplates.Domino.View.PopupView.AddCloseButton ( Action[] actions)

Add a array of buttons.

Parameters
actions
Returns

◆ Close()

void GBTemplates.Domino.View.PopupView.Close ( bool immediateClose = false)

Close the popup.

Parameters
immediateClose

◆ DisableAllButons()

IPopup GBTemplates.Domino.View.PopupView.DisableAllButons ( )

Disable all buttons.

Returns

◆ Open()

IPopup GBTemplates.Domino.View.PopupView.Open ( )

Openm the Popup.

Returns

◆ PushBodyPrefab()

IPopup GBTemplates.Domino.View.PopupView.PushBodyPrefab ( GameObject prefab,
float height )

Instantiate a layout on body and update the height.

Parameters
prefab
height
Returns

◆ SetDescription()

IPopup GBTemplates.Domino.View.PopupView.SetDescription ( string description)

Set description on the body.

Parameters
description
Returns

◆ SetTittle()

IPopup GBTemplates.Domino.View.PopupView.SetTittle ( string tittle)

The the tittle.

Parameters
tittle
Returns

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