using System.Collections; using System.Collections.Generic; using UnityEngine; public class DataManager : SingleTon { public List peoples = new List(); public RowsItem currentSelectPeople = null; public List currentPeoplesProgress = new List(); public List currentPeoplesQuestion = new List(); public QuestionType currentQuesitionType; private GameData gameData = null; public DataItem2 currentQuitQuestion = null; public Dictionary> currentAllQuestion = new Dictionary>(); public List currentTalk = null; public DataItem currentData = null; public int currentBGType = 1; public List currentAnswerQuestion = new List(); public string currentHistoryChoose = ""; public HistoryType currentHistoryType; public bool isAddEventRTVoice = false; /// /// 病人的个人资料 /// public List rowitems2 = new List(); public GameData GetGameData() { if (gameData == null) { gameData = GameObject.Find("GameData").GetComponent(); } return gameData; } } public enum QuestionType { /// /// 临床检查问题 code=1 /// CLINICAL_PROBLEM, /// /// 诊断问题 code =2 /// DIAGNOSE_PROBLEM, /// /// 建议问题 code=3 /// SUGGEST_PROBLEM, /// /// 退出检查问题 code=4 /// EXIT_PROBLEM }