少年修仙传客户端代码仓库
client_wuxijin
2018-08-10 901402b1f05a8c3ced3b3d808bb12ebd85a53032
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;