C# Class UIMessageBox, PuzzleGameProject

Inheritance: UILuaObject
Afficher le fichier Open project: Cedric-Paris/PuzzleGameProject Class Usage Examples

Méthodes publiques

Méthode Description
ShowEditText ( string placeHolderMessage, ShowEditTextCallback callbackFonctionIfClickOk ) : void
ShowMessage ( string message ) : void
ShowMessage ( string message, UnityEngine actionOnClick ) : void
ShowSelectElementOnList ( List elements, ShowSelectElementCallback callbackFonctionIfValueIsSelected ) : void
ShowYesNo ( string message, UnityEngine actionIfYes, UnityEngine actionIfNo ) : void

Displays a message box with Yes and No buttons. Performs treatments passed as parameters according to user response.

Private Methods

Méthode Description
initializeCanvas ( GameObject gameObject ) : Canvas

Method Details

ShowEditText() public static méthode

public static ShowEditText ( string placeHolderMessage, ShowEditTextCallback callbackFonctionIfClickOk ) : void
placeHolderMessage string
callbackFonctionIfClickOk ShowEditTextCallback
Résultat void

ShowMessage() public static méthode

public static ShowMessage ( string message ) : void
message string
Résultat void

ShowMessage() public static méthode

public static ShowMessage ( string message, UnityEngine actionOnClick ) : void
message string
actionOnClick UnityEngine
Résultat void

ShowSelectElementOnList() public static méthode

public static ShowSelectElementOnList ( List elements, ShowSelectElementCallback callbackFonctionIfValueIsSelected ) : void
elements List
callbackFonctionIfValueIsSelected ShowSelectElementCallback
Résultat void

ShowYesNo() public static méthode

Displays a message box with Yes and No buttons. Performs treatments passed as parameters according to user response.
public static ShowYesNo ( string message, UnityEngine actionIfYes, UnityEngine actionIfNo ) : void
message string The message in the message box.
actionIfYes UnityEngine Action performed if the response is yes.
actionIfNo UnityEngine Action performed if the response is no.
Résultat void