| | |
| | | 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;
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | private byte m_Step = 0;
|
| | |
|
| | | void Start()
|
| | | {
|
| | | m_Step = 0;
|
| | | SoundPlayer.Instance.PlayLoginMusic();
|
| | | Config.Instance.PreLoadConfigs();
|
| | | ServerListCenter.Instance.RequestJumpUrl();
|
| | |
|
| | | WindowCenter.Instance.OpenFromLocal<LaunchWin>();
|
| | | DebugUtility.Instance.CreateDebugRoot();
|
| | |
|
| | | StartCoroutine(Co_Lanuch());
|
| | | }
|
| | |
|
| | | void Update()
|
| | | {
|
| | | if (m_Step == 1)
|
| | | {
|
| | | ServerListCenter.Instance.RequestJumpUrl();
|
| | | m_Step = 2;
|
| | | }
|
| | | }
|
| | |
|
| | | IEnumerator Co_Lanuch()
|
| | |
| | | yield return null;
|
| | | }
|
| | | #endif
|
| | |
|
| | | m_Step = 1;
|
| | | var cpu = 2;
|
| | | var memory = 2048;
|
| | | DeviceUtility.GetCpuAndMemory(out cpu, out memory);
|