0312 优化法宝任务显示,自动寻访等级改成到达配置等级开启
| | |
| | | DisplayActivePoint();
|
| | | DisplayButtonState();
|
| | | TryStartNotEnoughPointGuide();
|
| | | if (PlayerDatas.Instance.baseData.LV > model.autoOpenLimitLV)
|
| | | if (PlayerDatas.Instance.baseData.LV >= model.autoOpenLimitLV)
|
| | | {
|
| | | Vector3 v = m_Goto.transform.localPosition;
|
| | | v.x = -105;
|
| | |
| | |
|
| | | void DisplayBackButton()
|
| | | {
|
| | | if (PlayerDatas.Instance.baseData.LV > model.autoOpenLimitLV)
|
| | | if (PlayerDatas.Instance.baseData.LV >= model.autoOpenLimitLV)
|
| | | m_GotoAuto.gameObject.SetActive(true);
|
| | | }
|
| | |
|
| | |
| | | get { return m_TaskNames[0]; }
|
| | | }
|
| | |
|
| | | public int JumpTaskIndex()
|
| | | {
|
| | |
|
| | | for (int i = 0; i < m_TaskNames.Count; i++)
|
| | | {
|
| | | if (m_TaskNames[i].color == UIHelper.s_Gray)
|
| | | {
|
| | | return i;
|
| | | }
|
| | | }
|
| | | return m_TaskNames.Count - 1;
|
| | | }
|
| | |
|
| | | public VerticalLayoutGroup taskLayout {
|
| | | get { return m_ContainerTasks; }
|
| | |
| | | DisplayBase();
|
| | | DisplayProgress();
|
| | | DisplayTasks();
|
| | | m_TaskController.JumpIndex(m_HumanTaskCell.JumpTaskIndex());
|
| | | }
|
| | |
|
| | | void DisplayBase()
|
| | |
| | | m_TaskController.AddCell(ScrollerDataType.Header, clue);
|
| | | lastClue = clue;
|
| | |
|
| | | if (clueState == 1 && jumpIndex != -1)
|
| | | if (clueState != 0)
|
| | | {
|
| | | jumpIndex = index;
|
| | | }
|