Gamebase SDK for Unity  1.1.5
Toast Gamebase Platform

◆ Withdraw()

static void Withdraw ( GamebaseCallback.ErrorDelegate  callback)
static

This method make user withdraw from Gamebase Game Platform, but IDPs need to be unlink in each IDP user preference page.

This method cannot drop out of IDP.

Parameters
callbackCallback. delegate(GamebaseError error)

This sample shows how to call the Gamebase.Withdraw method.

public void Withdraw()
{
Gamebase.Withdraw((error) =>
{
if (Gamebase.IsSuccess(error))
{
Debug.Log("Withdraw succeeded.");
}
else
{
Debug.Log(string.Format("Withdraw failed. error is {0}", error));
}
});
}