| | |
| | | [SerializeField] Button m_BagualuBtn;//八卦炉
|
| | |
|
| | | [SerializeField] Button m_TreasureSoulBtn;//觉醒按钮
|
| | |
|
| | | [SerializeField] Button m_GodBeastBtn;//神兽按钮
|
| | | public void Init()
|
| | | {
|
| | | _Role1Btn.onClick.AddListener(Role1Button);
|
| | |
| | | _RankingListBtn.onClick.AddListener(RankingListButton);
|
| | | m_BagualuBtn.AddListener(OnClickBagualuBtn);
|
| | | m_TreasureSoulBtn.AddListener(OnClickTreasureSoul);
|
| | | m_GodBeastBtn.AddListener(GodBeastBtn);
|
| | | }
|
| | |
|
| | | public void UnInit()
|
| | |
| | | _SetUp1Btn.onClick.RemoveAllListeners();
|
| | | _RankingListBtn.onClick.RemoveAllListeners();
|
| | | m_BagualuBtn.RemoveAllListeners();
|
| | | m_GodBeastBtn.RemoveAllListeners();
|
| | | }
|
| | |
|
| | | void Role1Button()
|
| | |
| | | WindowCenter.Instance.Close<MainInterfaceWin>();
|
| | | WindowCenter.Instance.Open<TreasureSoulWin>();
|
| | | }
|
| | | //private void OnRealmButton()
|
| | | //{
|
| | | // WindowCenter.Instance.Open<RealmWin>();
|
| | | // WindowCenter.Instance.Close<MainInterfaceWin>();
|
| | | //}
|
| | | private void GodBeastBtn()
|
| | | {
|
| | | WindowCenter.Instance.Close<MainInterfaceWin>();
|
| | | WindowCenter.Instance.Open<DogzWin>();
|
| | | }
|
| | |
|
| | | void Strengthen1Button()
|
| | | {
|