using System.Collections; using System.Collections.Generic; using UnityEngine; public class QuestionProxy : DataProxy { /// /// 从表格读取题库信息 /// /// /// public List ReadStepMsgInfoFromTable(string tableName) { string tmpTableName = tableName + GlobalConfig.excelSuffix; List tmpQuestionInfos = new List(); string tmpPath = System.IO.Path.Combine(GlobalConfig.operateTablePath, tmpTableName); tmpQuestionInfos = ExcelHelper.ReadInfoFromExcel(tmpPath, 1); return tmpQuestionInfos; } } /// /// 从表中读取到的数据信息 /// public class QuestionInfo { /// /// 步骤ID /// public string StepId; /// /// 试题类型 /// public string QuestionType; /// /// 试题题目 /// public string Topic; /// /// 试题选项 /// public string Options; /// /// 试题答案 /// public string Answer; }