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); }
void Awake() { //启动PureMVC,完成Controller,Proxies,Mediators的初始化工作 MyFacade.GetInstance().Launch(); }
void Awake() { MyFacade.GetInstance().Launch(); }