Gamebase SDK for Unity  2.2.0
Toast Gamebase Platform

◆ ShowAlert() [2/2]

static void ShowAlert ( string  title,
string  message,
GamebaseCallback.VoidDelegate  buttonCallback 
)
static

This method to create the dialog and display it on screen.

Show Alert View with async completion callback.

Since
Added 1.4.0.
Parameters
titleThe title to be shown in the alert.
messageThe message to be shown in the alert.
buttonCallbackThe buttonCallback to be executed after click ok button.

Example Usage :

public void ShowAlertCallback(string title, string message)
{
Gamebase.Util.ShowAlert(
title,
message,
() =>
{
Debug.Log("Button Click");
});
}