/// <summary> /// Set Content-Type as JSON format. /// </summary> /// <param name="request">The <see cref="UnityEngine.Networking.UnityWebRequest"/> object.</param> public static void SetJsonContentType(this UnityWebRequest request) { request.SetContentType(JsonContentTypeValue); }