Пример #1
0
        /// <summary>
        /// 用户任务数据主通道
        /// </summary>
        /// <param name="missionModel"></param>
        public void SetMissionItemData(MissionModel missionModel)
        {
            _missionModel = missionModel;
            _data         = _missionModel.GetMissionListByType(MissionTypePB.Daily);
            _weekData     = _missionModel.GetMissionListByType(MissionTypePB.WeekDaily);

            //在此处设置红点!
            _dailyredPiont.SetActive(_missionModel.HasDailyActivityAward(_data));
            _weekredPiont.SetActive(_missionModel.HasWeekActivityAward(_weekData));
        }