I'm using GetAccountInfo to Get Email, but heres is the code and the problem:
var requestEmail = new GetAccountInfoRequest(); PlayFabClientAPI.GetAccountInfo(requestEmail, OnGetAccountInfoEmailSuccess, OnGetFailure);
That's how I ask for Account Email:
public void OnGetAccountInfoEmailSuccess(GetAccountInfoResult result){ Debug.Log(result.PrivateAccountInfo.Email); }
The problem:
Doesn't matter what I put in Debug.Log bettween result. and .Email, I have CS1061 error saying GetAccountInfoResult does not contain a definition for 'Whatever I use'
I tried
Debug.Log(result.AccountInfo.Email); Debug.Log(result.Email); Debug.Log(result.PrivateInfo.Email); Debug.Log(result.UserAccountInfo.Email); Debug.Log(result.PrivateAccountInfo.Email);