void Awake() { //启动PureMVC程序 ApplicationFacade facade = ApplicationFacade.Instance as ApplicationFacade; facade.Startup(this); }
public EmployeeAdminApplication() { InitializeComponent(); Facade = ApplicationFacade.getInstance() as ApplicationFacade; Facade.Startup(this); }
void Startup() { //Init UIManger UIManager.Instance.UIRoot = uiRoot; UIManager.Instance.RegisterUI(UIEnum.TopBar, uiTopBar.gameObject); UIManager.Instance.RegisterUI(UIEnum.Main, uiMain.gameObject); UIManager.Instance.RegisterUI(UIEnum.Setting, uiSetting.gameObject); UIManager.Instance.RegisterUI(UIEnum.WordDesc, uiWordDesc.gameObject); ApplicationFacade facade = ApplicationFacade.Instance as ApplicationFacade; facade.Startup(); }
void Awake() { ApplicationFacade facade = ApplicationFacade.Instance as ApplicationFacade; facade.Startup(this); }
void Start() { ApplicationFacade facade = (ApplicationFacade)ApplicationFacade.Instance; facade.Startup(window); }