| | |
| | |
|
| | | using System;
|
| | | using System.Collections;
|
| | | using System.Collections.Generic;
|
| | | using UnityEngine;
|
| | | using UnityEngine;
|
| | | using UnityEngine.UI;
|
| | |
|
| | |
|
| | |
| | | {
|
| | | reason = 0;
|
| | | CloseWindow();
|
| | | switch (VersionConfig.Get().versionAuthority)
|
| | | if (!(StageManager.Instance.currentStage == StageName.Login))
|
| | | {
|
| | | case VersionAuthority.InterTest:
|
| | | GameNotice.OpenGameNotice();
|
| | | break;
|
| | | case VersionAuthority.Release:
|
| | | if (!VersionConfig.Get().isBanShu)
|
| | | {
|
| | | if (!LoginManager.Instance.sdkLogined)
|
| | | {
|
| | | SDKUtils.Instance.FreePlatformLogin();
|
| | | }
|
| | | }
|
| | | break;
|
| | | GameNetSystem.Instance.LoginOut();
|
| | | }
|
| | | }
|
| | |
|