/// <summary> /// 生成数据(里面要穿参数) /// </summary> public void SetData(MissionModel missionModel, int day) { _missionModel = missionModel; _data = _missionModel.GetStarActivityMission(day); CreateTask(); SetToggleState(day); _togglesTran.gameObject.Show(); SetToggleRedDot(_missionModel.GetRedDotDays()); SetProgress(); SetActivityTime(); }