User Feedback Survey (updated) - How to Send Unity Data to Google Forms using UnityWebRequest
using System.Collections;
using UnityEngine;
using UnityEngine.Networking;
using UnityEngine.UI;
public class Survey : MonoBehaviour
{
[SerializeField] InputField feedback1;
string URL = "";
public void Send()
{
StartCoroutine(Post(feedback1.text));
}
IEnumerator Post(string s1)
{
WWWForm form = new WWWForm();
form.AddField("", s1);
UnityWebRequest www = UnityWebRequest.Post(URL, form);
yield return www.SendWebRequest();
}
}
Видео User Feedback Survey (updated) - How to Send Unity Data to Google Forms using UnityWebRequest канала 1Min Unity Tutorials
using UnityEngine;
using UnityEngine.Networking;
using UnityEngine.UI;
public class Survey : MonoBehaviour
{
[SerializeField] InputField feedback1;
string URL = "";
public void Send()
{
StartCoroutine(Post(feedback1.text));
}
IEnumerator Post(string s1)
{
WWWForm form = new WWWForm();
form.AddField("", s1);
UnityWebRequest www = UnityWebRequest.Post(URL, form);
yield return www.SendWebRequest();
}
}
Видео User Feedback Survey (updated) - How to Send Unity Data to Google Forms using UnityWebRequest канала 1Min Unity Tutorials
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала