Example #1
0
    // 用户登出,注销
    public static void UserLogout()
    {
#if  UNITY_WP8 && !UNITY_EDITOR
        if (null != WPSDKHelperScript.Instance())
        {
            WPSDKHelperScript.Instance().WPLogOut();
        }
#elif UNITY_ANDROID && !UNITY_EDITOR
        AndroidHelper.doSdk("doLogout", "");
#elif UNITY_IPHONE && !UNITY_EDITOR
        IOSHelper.doLogout();
#else
#endif
    }