private void Process(object data)
 {
     Debug.Log(data.ToString());
     if (data.ToString().Length > 1)
     {
         MyFacade.GetInstance().SendNotification(MyFacade.LoginSucceed);
     }
     else
     {
         MyFacade.GetInstance().SendNotification(MyFacade.LoginFailed);
     }
 }
 // Start is called before the first frame update
 void Start()
 {
     MyFacade.GetInstance().SendNotification(MyFacade.StartUp);
 }
Exemple #3
0
 void Awake()
 {
     //启动PureMVC,完成Controller,Proxies,Mediators的初始化工作
     MyFacade.GetInstance().Launch();
 }
Exemple #4
0
 void Awake()
 {
     MyFacade.GetInstance().Launch();
 }