| | |
| | | [SerializeField] Button PrayerButton;//祈愿
|
| | | [SerializeField] Button BountyTaskButton;//赏金
|
| | | [SerializeField] Button HangUpButton;//挂机
|
| | | [SerializeField] Button FairyTaskButton;//仙盟任务
|
| | | private int number = 0;
|
| | | DungeonModel m_DungeonModel;
|
| | | DungeonModel dungeonModel { get { return m_DungeonModel ?? (m_DungeonModel = ModelCenter.Instance.GetModel<DungeonModel>()); } }
|
| | |
| | | WorldBossButton.AddListener(() => {
|
| | | Close();
|
| | | WindowCenter.Instance.Open<FindPreciousFrameWin>();
|
| | | });
|
| | | FairyTaskButton.AddListener(()=> |
| | | {
|
| | | Close();
|
| | | WindowJumpMgr.Instance.WindowJumpTo(JumpUIType.UnionTask);
|
| | | });
|
| | | }
|
| | |
|
| | |
| | | {
|
| | | HangUpButton.gameObject.SetActive(false);
|
| | | }
|
| | |
|
| | | if (FuncOpen.Instance.IsFuncOpen(16) && TaskAllocation.Instance.FairyAuAllNumber()<70)//仙盟任务
|
| | | {
|
| | | FairyTaskButton.gameObject.SetActive(true);
|
| | | }
|
| | | else
|
| | | {
|
| | | FairyTaskButton.gameObject.SetActive(false);
|
| | | }
|
| | | for (int i = 0; i < Content.childCount; i++)
|
| | | {
|
| | |
|