public void ServerGetTitleData() { PlayFabServerAPI.GetTitleData( new GetTitleDataRequest(), result => { if (result.Data == null || !result.Data.ContainsKey("MonsterName")) Debug.Log("No MonsterName"); else Debug.Log("MonsterName: " + result.Data["MonsterName"]); }, error => { Debug.Log("Got error getting titleData:"); Debug.Log(error.GenerateErrorReport()); }); }
Testing few things here and there. I need this example code to work, sadly I'm getting exception with PlayFabServerAPI and it doesn't tell me which namespace to use, but only to create new one(property, field, class, etc).
What should I do to use PlayFabServerAPI?