예제 #1
0
 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);
     }
 }
예제 #2
0
 // Start is called before the first frame update
 void Start()
 {
     MyFacade.GetInstance().SendNotification(MyFacade.StartUp);
 }
예제 #3
0
파일: App.cs 프로젝트: xmshaka/PureMVC_Demo
 void Awake()
 {
     //启动PureMVC,完成Controller,Proxies,Mediators的初始化工作
     MyFacade.GetInstance().Launch();
 }
예제 #4
0
 void Awake()
 {
     MyFacade.GetInstance().Launch();
 }