| | |
| | | [SerializeField] Button m_ServerSelect;
|
| | | [SerializeField] Button m_SwitchAccount;
|
| | | [SerializeField] Button m_Notice;
|
| | | [SerializeField] Button m_UserHelp;
|
| | | [SerializeField] RichText m_BanHao;
|
| | |
|
| | | LoginModel model { get { return ModelCenter.Instance.GetModel<LoginModel>(); } }
|
| | |
| | |
|
| | | protected override void AddListeners()
|
| | | {
|
| | | m_EnterGame.AddListener(EnterGame);
|
| | | m_ServerSelect.AddListener(OpenServerListWin);
|
| | | if (m_SwitchAccount != null)
|
| | | {
|
| | | m_SwitchAccount.AddListener(SwitchAccount);
|
| | | }
|
| | |
|
| | | m_Notice.AddListener(VeiwNotice);
|
| | | m_EnterGame.SetListener(EnterGame);
|
| | | m_ServerSelect.SetListener(OpenServerListWin);
|
| | | m_SwitchAccount.SetListener(SwitchAccount);
|
| | | m_Notice.SetListener(VeiwNotice);
|
| | | m_UserHelp.SetListener(OpenUserHelp);
|
| | | }
|
| | |
|
| | | protected override void OnPreOpen()
|
| | |
| | | m_Notice.gameObject.SetActive(GameNotice.HasNotice());
|
| | |
|
| | | m_AlphaTween.SetStartState();
|
| | | if (m_SwitchAccount != null)
|
| | | {
|
| | | m_SwitchAccount.gameObject.SetActive(VersionConfig.Get().versionAuthority == VersionAuthority.Release && !VersionConfig.Get().isBanShu);
|
| | | }
|
| | | m_SwitchAccount.gameObject.SetActive(VersionConfig.Get().versionAuthority == VersionAuthority.Release && !VersionConfig.Get().isBanShu);
|
| | |
|
| | | m_WaitServerList.gameObject.SetActive(!ServerListCenter.Instance.serverListGot);
|
| | | m_ContainerEnterGame.gameObject.SetActive(ServerListCenter.Instance.serverListGot);
|
| | |
| | | GameNotice.OpenGameNoticeForce();
|
| | | }
|
| | |
|
| | | private void OpenUserHelp()
|
| | | {
|
| | | WindowCenter.Instance.OpenFromLocal<UserHelpWin>();
|
| | | }
|
| | |
|
| | | }
|
| | |
|