using Newtonsoft.Json; using System.Collections.Generic; using UnityEngine; using UnityEngine.UIElements; /* 用于管理用户反馈界面和提交 */ public class UserFeedbackController : MonoBehaviour { // Start is called once before the first execution of Update after the MonoBehaviour is created private DropdownField type; private TextField feedback; private Button submit, cancel; private string typeOption0, typeOption1; void Awake() { var root = GetComponent().rootVisualElement; type = root.Q("type"); feedback = root.Q("feedback"); submit = root.Q