using System.Collections; using System.Collections.Generic; using UnityEngine; using static InterfaceManager; using RDate; using UnityEngine.UI; public class DoublePlayMain : MonoBehaviour { public static DoublePlayMain instance; /// /// 所有房间数据接口 /// [Header("所有房间数据接口")] public RoomData roomdata = new RoomData(); public VideoListManager videolistmanager = new VideoListManager(); /// /// 复盘回访预制体 /// [Header("复盘回访预制体")] public GameObject DuplexPrefab; /// /// 复盘回访预制体父物体 /// [Header("复盘回访预制体父物体")] public Transform DuplexPrefabParent; /// /// 基本信息 脚本 /// public DoublePlayIntroduceList doublePlayIntroduceList; /// /// 训练评估 脚本 /// public DoublePlayEvaluatePanel doublePlayEvaluatePanel; /// /// 基本信息tog /// private Toggle tog_informition; /// /// 训练评估tog /// private Toggle tog_evaluate; /// /// 训练回放 /// private Button btn_video; /// /// 关闭训练回放 /// private Button btn_videoClose; /// /// 基本信息obj /// public GameObject IntroduceList; /// /// 训练评估obj /// public GameObject EvaluatePanel; /// /// 复盘回放视频显示 /// public GameObject VideoUi; // Start is called before the first frame update void Start() { instance = this; Debug.Log("url.:"+ Url_RoomList); tog_informition = transform.Find("IntroducePanel/tog_informition").GetComponent(); tog_evaluate = transform.Find("IntroducePanel/tog_evaluate").GetComponent(); btn_video = transform.Find("IntroducePanel/btn_video").GetComponent