| | |
| | | using UnityEngine.UI;
|
| | | using System;
|
| | | //底层按钮面板控制
|
| | | namespace Snxxz.UI {
|
| | | namespace Snxxz.UI
|
| | | {
|
| | |
|
| | | public class LowSettingTip:MonoBehaviour {
|
| | | public class LowSettingTip : MonoBehaviour
|
| | | {
|
| | | [SerializeField] Button _Role1Btn;//角色按钮
|
| | | [SerializeField] Button _SkillBtn;//技能按钮
|
| | | [SerializeField] Button _Pet1Btn;//宠物按钮
|
| | | [SerializeField] Button _Synthesis1Btn;//合成按钮
|
| | | // [SerializeField] Button _RealmBtn;//境界
|
| | | // [SerializeField] Button _RealmBtn;//境界
|
| | | [SerializeField] Button _Rune1Btn;//符印按钮
|
| | | [SerializeField] Button _SetUp1Btn;//设置按钮
|
| | |
|
| | |
| | | m_BagualuBtn.AddListener(OnClickBagualuBtn);
|
| | | m_TreasureSoulBtn.AddListener(OnClickTreasureSoul);
|
| | | m_GodBeastBtn.AddListener(GodBeastBtn);
|
| | | m_JadeDynastyBtn.AddListener(JadeDynastyButton);
|
| | | m_JadeDynastyBtn.AddListener(OpenEquip);
|
| | | }
|
| | |
|
| | | public void UnInit()
|
| | |
| | | _Synthesis1Btn.onClick.RemoveAllListeners();
|
| | | _Rune1Btn.onClick.RemoveAllListeners();
|
| | | _Pet1Btn.onClick.RemoveAllListeners();
|
| | | // _RealmBtn.onClick.RemoveAllListeners();
|
| | | // _RealmBtn.onClick.RemoveAllListeners();
|
| | | _SetUp1Btn.onClick.RemoveAllListeners();
|
| | | _RankingListBtn.onClick.RemoveAllListeners();
|
| | | m_BagualuBtn.RemoveAllListeners();
|
| | |
| | | }
|
| | | private void GodBeastBtn()
|
| | | {
|
| | | //SysNotifyMgr.Instance.ShowTip("FuncNextVersion");//信息提示
|
| | | //return;
|
| | | WindowCenter.Instance.Close<MainInterfaceWin>();
|
| | | WindowCenter.Instance.Open<DogzWin>();
|
| | | }
|
| | |
| | | void Strengthen1Button()
|
| | | {
|
| | | WindowCenter.Instance.Close<MainInterfaceWin>();
|
| | | WindowCenter.Instance.Open<EquipReinforceWin>();
|
| | | //DesignDebug.Log("强化按钮");
|
| | | }
|
| | | void JadeDynastyButton()
|
| | | {
|
| | | WindowCenter.Instance.Close<MainInterfaceWin>();
|
| | | WindowCenter.Instance.Open<JadeDynastyKnapSackWin>();
|
| | | //DesignDebug.Log("诛仙装备");
|
| | | WindowCenter.Instance.Open<EquipFrameWin>(false, 0);
|
| | | }
|
| | |
|
| | | void OpenEquip()
|
| | | {
|
| | | WindowCenter.Instance.Close<MainInterfaceWin>();
|
| | | var equipModel = ModelCenter.Instance.GetModel<EquipModel>();
|
| | | equipModel.selectedLevel.value = equipModel.GetLastestUnLockEquipSet();
|
| | | WindowCenter.Instance.Open<RealmEquipWin>();
|
| | | }
|
| | |
|
| | | void Asuram1Button()
|
| | | {
|
| | | WindowCenter.Instance.Close<MainInterfaceWin>();
|
| | | ModelCenter.Instance.GetModel<FairyModel>().GotoFairyWin();
|
| | | //WindowCenter.Instance.Open<UnionPanel>(false, PlayerDatas.Instance.fairyData.HasFairy ? 2 : 3);
|
| | |
|
| | | //DesignDebug.Log("仙盟按钮");
|
| | | }
|
| | |
|
| | |
|
| | |
|
| | | void Synthesis1Button()
|
| | | {
|
| | | //SysNotifyMgr.Instance.ShowTip("UnopenedFunction");
|
| | | //DesignDebug.Log("合成按钮");
|
| | | WindowCenter.Instance.Close<MainInterfaceWin>();
|
| | | WindowCenter.Instance.Open<ComposeWin>();
|
| | | }
|
| | |
| | | {
|
| | | WindowCenter.Instance.Close<MainInterfaceWin>();
|
| | | WindowCenter.Instance.Open<RunePanel>();
|
| | | |
| | | //DesignDebug.Log("符印按钮");
|
| | | }
|
| | |
|
| | | void Pet1Button()
|
| | | {
|
| | | WindowCenter.Instance.Close<MainInterfaceWin>();
|
| | | WindowCenter.Instance.Open<PetWin>();
|
| | |
|
| | | //DesignDebug.Log("宠物按钮");
|
| | | }
|
| | |
|
| | |
|
| | | void SetUp1Btn()
|
| | | {
|
| | | WindowCenter.Instance.Close<MainInterfaceWin>();
|
| | | WindowCenter.Instance.Open<SettingUpWin>();
|
| | | //SysNotifyMgr.Instance.ShowTip("UnopenedFunction");
|
| | | //DesignDebug.Log("设置按钮");
|
| | | }
|
| | |
|