/// <summary> /// 关闭简介页面 /// </summary> public void CloseCustoms() { battleName.SetActive(true); Starlevel_obj.SetActive(true); arroParent_obj.SetActive(true); common_tog.gameObject.SetActive(true); elite_tog.gameObject.SetActive(true); epic_tog.gameObject.SetActive(true); if (BattleMgr.Instance.SectionChapter == 0 && isPass == SectionState.Pass) { QueenShow(false); FrontShow(true); } else if (BattleMgr.Instance.SectionChapter == 0) { QueenShow(false); FrontShow(false); } else if (BattleMgr.Instance.SectionChapter != 0 && isPass != SectionState.Pass) { QueenShow(true); FrontShow(false); } else { QueenShow(true); FrontShow(true); } }
/// <summary> /// 点击进入简介界面 /// </summary> /// <param name="stage"></param> public void BattleInt(int _levelId, BattleCtrl open) { BattleMgr.Instance.LevelID = _levelId; battleName.SetActive(false); //本章节名字关闭 Starlevel_obj.SetActive(false); //奖励宝箱关闭 arroParent_obj.SetActive(false); //交战标记关闭 common_tog.gameObject.SetActive(false); // elite_tog.gameObject.SetActive(false); //三种副本的选择按钮关闭 epic_tog.gameObject.SetActive(false); // queen_btn.gameObject.SetActive(false); //关闭左箭头 front_btn.gameObject.SetActive(false); //关闭右箭头 open.OpenCustoms(); }