| | |
| | | using System.Collections.Generic;
|
| | | using UnityEngine;
|
| | | using UnityEngine.UI;
|
| | | using LitJson;
|
| | | using TableConfig;
|
| | |
|
| | | namespace Snxxz.UI
|
| | | {
|
| | |
| | | m_AntiAddition.gameObject.SetActive(false);
|
| | | }
|
| | |
|
| | | var switchAccountJson = JsonMapper.ToObject(Config.Instance.Get<FuncSwitchConfig>(2).AppIdSwitch);
|
| | | if (switchAccountJson.Keys.Contains(VersionConfig.Get().appId) && switchAccountJson[VersionConfig.Get().appId].ToString() == "0")
|
| | | {
|
| | | m_SwitchAccountBtn.gameObject.SetActive(false);
|
| | | }
|
| | | else
|
| | | {
|
| | | m_SwitchAccountBtn.gameObject.SetActive(true);
|
| | | }
|
| | |
|
| | | loginModel.accountBindOkEvent += UpdateAccountBindTitle;
|
| | | SDKUtility.Instance.onFreePlatfromDoIDAuthenticationOk += OnAuthenticationOk;
|
| | | SystemSetting.Instance.gameFrameChangeEvent += OnSwitchGameFrame;
|