Gamebase SDK for Unity  1.8.0
Toast Gamebase Platform

◆ RemoveMapping()

static void RemoveMapping ( string  providerName,
GamebaseCallback.ErrorDelegate  callback 
)
static

Removes external authentication that is mapped to the current user identifier.

Since
Added 1.4.0.
Parameters
providerNameThe providerName which is authentication provider.
callbackCallbacks the result of removing the mapping.

Example Usage :

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