/// <summary> /// 按照选择词库开始游戏并保存选择词库 /// </summary> public void FinishWork() { IOMgr.SaveChooseWord(); if (IOMgr.GetChooseWord().Count >= 4) { jumpToSence.jumpSceneName = SceneName.BallonHitGame; jumpToSence.JumpToScene(); } else { tipsText.text = "开始游戏至少需要4个单词"; chooingWord = null; } }
/// <summary> /// 保存当前词库并返回开始界面 /// </summary> public void BackHome() { thesaurusls.SaveThesaurus(); thesaurusls.SaveChooseWord(); jumpToScene.JumpToScene(); }