| | |
| | | [SerializeField] Text m_TextNumber;//已领取次数
|
| | | OpenServiceAchievementModel model { get { return ModelCenter.Instance.GetModel<OpenServiceAchievementModel>(); } }
|
| | |
|
| | | [IFix.Patch]
|
| | | public override void Refresh(CellView cell)
|
| | | {
|
| | | int ID = cell.index;
|
| | |
| | | }
|
| | | else//未到达
|
| | | {
|
| | | m_TextNumber.gameObject.SetActive(false);
|
| | | m_Btn.gameObject.SetActive(false);
|
| | | m_Miss.SetActive(false);
|
| | | m_Reach.SetActive(true);
|
| | | m_Draw.SetActive(false);
|
| | |
|
| | | if (config.ActionType == 20)
|
| | | {
|
| | | m_TextNumber.gameObject.SetActive(false);
|
| | | m_Btn.gameObject.SetActive(false);
|
| | | m_Miss.SetActive(false);
|
| | | m_Reach.SetActive(true);
|
| | | m_Draw.SetActive(false);
|
| | | }
|
| | | else
|
| | | { |
| | | m_TextNumber.gameObject.SetActive(true);
|
| | | m_TextNumber.text = SetText(ID);
|
| | | m_Btn.gameObject.SetActive(true);
|
| | | m_BtnText.text = Language.Get("RealmPractice108");//前往
|
| | | UIEffect uieffect = m_Btn.GetComponent<UIEffect>();
|
| | | uieffect.Stop();
|
| | | m_Miss.SetActive(false);
|
| | | m_Reach.SetActive(false);
|
| | | m_Draw.SetActive(false);
|
| | | m_Btn.SetListener(() =>
|
| | | {
|
| | | WindowJumpMgr.Instance.WindowJumpTo((JumpUIType)config.jump);
|
| | | });
|
| | | }
|
| | | }
|
| | |
|
| | | }
|