Gamebase SDK for Unity  1.5.0
Toast Gamebase Platform

◆ Withdraw()

static void Withdraw ( GamebaseCallback.ErrorDelegate  callback)
static

Withdraws the user.

Since
Added 1.4.0.
Parameters
callbackCallbacks the result of withdraw. (GamebaseError error)

Example Usage :

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));
}
});
}