| | |
| | | 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;
|
| | |
| | | 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;
|