using QFramework; using System.Collections; using System.Collections.Generic; using UnityEngine; public class QuestionPanelTest : MonoBehaviour { public string stepId; private void Start() { ResKit.Init(); List tmpQuestionInfos = DAL.Instance.Get().ReadStepMsgInfoFromTable("220kV隔离开关-GW4A型解体大修_题库"); QuestionInfo tmpQuestionInfo = tmpQuestionInfos.Find(t => t.StepId == stepId); UIKit.OpenPanel(new QuestionPanelData() {questionInfo = tmpQuestionInfo }); } }