12345678910111213141516171819202122232425262728293031323334 |
- using System.Collections;
- using Blue;
- using UnityEngine;
- namespace GHZLangChao
- {
-
-
-
- public interface ILoginService : IService
- {
- void Login();
- }
- public class LoginService : ILoginService
- {
- public void OnInit()
- {
- }
- public void Login()
- {
- CoroutineSystem.Instance.Start_Coroutine(LoginImitate());
- }
- private IEnumerator LoginImitate()
- {
- UICallManager.Instance.MachineRoomInit("");
- yield return new WaitForSeconds(0.1f);
- this.SendEvent<LoginSuccessEvent>();
- }
- }
- }
|