少年修仙传客户端代码仓库
Hale Cai
2018-08-10 9101ba4c3b565f319bb9e62cee206bd11847aa87
fixed 1487 测试版本, 不等待sdk初始化
1个文件已修改
14 ■■■■ 已修改文件
Core/GameEngine/Login/Launch.cs 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/GameEngine/Login/Launch.cs
@@ -6,15 +6,18 @@
using System.Collections.Generic;
using System.IO;
public class Launch : MonoBehaviour
{
    static LaunchStage m_CurrentStage = LaunchStage.None;
    static public LaunchStage currentStage { get { return m_CurrentStage; } }
    static float m_Progress = 0f;
    static public float progress {
    static public float progress
    {
        get { return m_Progress; }
        set {
        set
        {
            if (m_Progress != value)
            {
                m_Progress = value;
@@ -68,9 +71,12 @@
    IEnumerator Co_Lanuch()
    {
#if !UNITY_EDITOR
        while (!SDKUtility.Instance.InitFinished)
        if (VersionConfig.Get().versionAuthority == VersionAuthority.Release)
        {
            yield return null;
            while (!SDKUtility.Instance.InitFinished)
            {
                yield return null;
            }
        }
#endif
        var cpu = 2;