// Use this for initialization void Start() { SystemSettings ss = FindObjectOfType <SystemSettings>(); if (GameInfo.gameMode == GameMode.PRACTICE) { if (ss) { ss.ShowBackBtn(); ss.ShowVideoBtn(true); } } else { if (ss) { ss.ShowVideoBtn(false); } } kBeginObj = GameObject.Find("Image_begin"); kBeginObj.GetComponentInChildren <Button>().onClick.AddListener(OnBegin); questionModule.Show(false); Utils.ParseQuestions(); }
void InitQuestionModule() { //测试用,发布的时候可注释掉 Utils.ParseQuestions(); questionModule.Init(); questionModule.questionOverEvent += DoQuestionOver; questionModule.Show(false); }