Gamebase SDK for Unity  1.0.0
Toast Gamebase Platform

◆ RemoveMapping()

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

Disconnect ID Provider from UserID.

Warning : You cannot remove mapping last logged in ID Provider.

Parameters
providerNameProvider name
callbackCallback. delegate(GamebaseError error)

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

public void RemoveMapping(string providerName)
{
Gamebase.RemoveMapping(providerName, (gamebaseError) =>
{
if (gamebaseError == null)
{
Debug.Log("RemoveMapping succeeded");
}
else
{
Debug.Log("RemoveMapping failed");
}
});
}