少年修仙传客户端代码仓库
client_Wu Xijin
2018-12-28 7060132c23fd29aa101c332e1217e7b1f672bb1b
5574  【1.3.100】【前端】按平台区分是否显示切换账号
1个文件已修改
20 ■■■■■ 已修改文件
System/Login/LoginWin.cs 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Login/LoginWin.cs
@@ -9,7 +9,7 @@
using UnityEngine;
using UnityEngine.UI;
using TableConfig;
using System.Linq;
using LitJson;
namespace Snxxz.UI
{
@@ -67,7 +67,23 @@
            m_Notice.gameObject.SetActive(GameNotice.HasNotice());
            m_AlphaTween.SetStartState();
            m_SwitchAccount.gameObject.SetActive(VersionConfig.Get().versionAuthority == VersionAuthority.Release && !VersionConfig.Get().isBanShu);
            if (Config.Instance.ContainKey<FuncSwitchConfig>(2))
            {
                var switchAccountJson = JsonMapper.ToObject(Config.Instance.Get<FuncSwitchConfig>(2).AppIdSwitch);
                if (switchAccountJson.Keys.Contains(VersionConfig.Get().appId) && switchAccountJson[VersionConfig.Get().appId].ToString() == "0")
                {
                    m_SwitchAccount.gameObject.SetActive(false);
                }
                else
                {
                    m_SwitchAccount.gameObject.SetActive(true);
                }
            }
            else
            {
                m_SwitchAccount.gameObject.SetActive(true);
            }
            if (m_UserHelp)
            {