using System.Collections.Generic; using System.Linq; using UnityEngine; using UnityEngine.UI; using Cysharp.Threading.Tasks; using MotionFramework; using TMPro; using static InterfaceManager; namespace DefaultNamespace { /// /// 考试文件下载UI管理器 /// 展示如何使用单个文件下载功能 /// public class ExamFileDownloadUI : MonoBehaviour { [Header("UI组件")] [SerializeField] private Transform downloadButtonsParent; // 下载按钮的父容器 [SerializeField] private Button uploadButton; // 上传按钮 [Header("配置")] [SerializeField] private string examTypeName = "新注册仓库的主数据运维流程"; // 题目名称 [SerializeField] private bool useGlobalExamName = true; // 是否使用全局题目名字 [SerializeField] private string downloadButtonPrefabPath = "Prefabs/下载按钮"; // 下载按钮预制体路径 private List