void IAuth.Logout(Action onComplete, Action onFailure)
        {
            PlayFabLogout();

            void PlayFabLogout()
            {
                PlayFabAuth.Logout(GooglePlayLogout, onFailure);
            }

            void GooglePlayLogout()
            {
                GooglePlayAuth.Logout(onComplete, onFailure);
            }
        }
Exemple #2
0
        void IAuth.Logout(Action onComplete, Action onFailure)
        {
            PlayFabLogout();

            void PlayFabLogout()
            {
                PlayFabAuth.Logout(SteamLogout, onFailure);
            }

            void SteamLogout()
            {
                SteamAuth.Logout(onComplete, onFailure);
            }
        }
 void IAuth.Logout(Action onComplete, Action onFailure) => PlayFabAuth.Logout(onComplete, onFailure);