Gamebase SDK for Unity  1.1.5
Toast Gamebase Platform

◆ ShowAlert() [2/2]

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

Show Alert View with async completion callback.

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.

This sample shows how to call the Gamebase.Util.ShowAlert method.

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