少年修仙传客户端代码仓库
System/MainInterfacePanel/FeatureNoticeTip.cs
@@ -18,6 +18,8 @@
        [SerializeField] Text _NameText;//标题名
        [SerializeField] Text _Information;//信息内容
        [SerializeField] GameObject m_FeatureNoticeTipObj;
        [SerializeField] Text m_Information_reward;//有奖励可领取
        FeatureNoticeModel featureNoticeModel { get { return ModelCenter.Instance.GetModel<FeatureNoticeModel>(); } }
        public GameObject FeatureNoticeTipObj
        {
            get { return m_FeatureNoticeTipObj; }
@@ -40,10 +42,21 @@
                    return;
                }
            }
            if (featureNoticeModel.redPointStre1.state == RedPointState.Simple)//预告完毕还有奖励能领取
            {
                _FunctionIcon.SetSprite("PersonBossIcon");
                m_Information_reward.gameObject.SetActive(true);
                _NameText.gameObject.SetActive(false);
                _Information.gameObject.SetActive(false);
                return;
            }
            return;
        }
        void OpenPanel(int ID)
        {
            m_Information_reward.gameObject.SetActive(false);
            _NameText.gameObject.SetActive(true);
            _Information.gameObject.SetActive(true);
            _FunctionIcon.SetSprite(Config.Instance.Get<FunctionForecastConfig>(ID).FuncIconKey);
            _NameText.text = Config.Instance.Get<FunctionForecastConfig>(ID).Describe;
            FuncOpenLVConfig funcoPenConfig = Config.Instance.Get<FuncOpenLVConfig>(ID);