跳到主要内容

Logout

In Unity, follow these steps.

Step 1: Regist callback (1 time only)

    SDKAPI.logOutSuccessCallback = ()=>{
Debug.Log(">>> Call LogOut SDK Success <<<");
// … Your code … //
...
};

Step 2: Call method LogOut

Method:

    public static void LogOut()

Example:

    SDKAPI.LogOut();