Here is a sample client I made for a Unity app that utilizes a GraphQL api. I based my code on these sources:
public class SomeGameObject : MonoBehaviour {
public APIClient api;
void Start () {
StartCoroutine (api.QueryCall( (bool success) => {
if (success)
Debug.Log( "success!");
else
Debug.Log( "fail!");
}))
}
}
For any clarification or comment, feel free to get in touch with me! :)