/// <summary> /// Callback function that we are directing our Android native plugin to return the token to. Currently this is a bit messy, but we needed to guarantee a gameObject would be active to catch the callback. /// </summary> /// <param name="token">Token from the native plugin</param> public void OnGoogleTokenReceived(string token) { Debug.Log("Token Recieved from the native plugin"); PlayFabLoginCalls.Token = token; Debug.Log(string.Format("g+ Token: {0}", token)); PlayFabLoginCalls.RequestSpinner(); PlayFabLoginCalls.SignOnWithGoogle(token); }