少年修仙传客户端代码仓库
client_Wu Xijin
2018-10-26 82931aabaaa3e479bc04e11630a77cd9c9dd5fe3
System/Login/LoginWin.cs
@@ -50,14 +50,17 @@
            m_ServerSelect.SetListener(OpenServerListWin);
            m_SwitchAccount.SetListener(SwitchAccount);
            m_Notice.SetListener(VeiwNotice);
            m_UserHelp.SetListener(OpenUserHelp);
            if (m_UserHelp)
            {
                m_UserHelp.SetListener(OpenUserHelp);
            }
        }
        protected override void OnPreOpen()
        {
            m_BanHao.text = string.IsNullOrEmpty(VersionConfig.Get().banHao) ? string.Empty : VersionConfig.Get().banHao;
            var sprite = Resources.Load<Sprite>("UI/Sprites/TB_DL_Logo");
            var sprite = BuiltInLoader.LoadSprite("TB_DL_Logo");
            m_Logo.overrideSprite = sprite;
            m_Logo.SetNativeSize();
            m_Logo.rectTransform.anchoredPosition = VersionConfig.Get().logoPosition;
@@ -66,7 +69,12 @@
            m_AlphaTween.SetStartState();
            m_SwitchAccount.gameObject.SetActive(VersionConfig.Get().versionAuthority == VersionAuthority.Release && !VersionConfig.Get().isBanShu);
            m_UserHelp.gameObject.SetActive(Config.Instance.ContainKey<ContactConfig>(VersionConfig.Get().appId));
            if (m_UserHelp)
            {
                var appId = VersionConfig.Get().appId;
                var branch = VersionConfig.Get().branch;
                m_UserHelp.gameObject.SetActive(ContactConfig.GetConfig(appId, branch) != null);
            }
            m_WaitServerList.gameObject.SetActive(!ServerListCenter.Instance.serverListGot);
            m_ContainerEnterGame.gameObject.SetActive(ServerListCenter.Instance.serverListGot);