Exemplo n.º 1
0
    void Awake()
    {
        //启动PureMVC程序
        ApplicationFacade facade = ApplicationFacade.Instance as ApplicationFacade;

        facade.Startup(this);
    }
        public EmployeeAdminApplication()
        {
            InitializeComponent();

            Facade = ApplicationFacade.getInstance() as ApplicationFacade;
            Facade.Startup(this);
        }
Exemplo n.º 3
0
    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();
    }
Exemplo n.º 4
0
    void Awake()
    {
        ApplicationFacade facade = ApplicationFacade.Instance as ApplicationFacade;

        facade.Startup(this);
    }
Exemplo n.º 5
0
    void Start()
    {
        ApplicationFacade facade = (ApplicationFacade)ApplicationFacade.Instance;

        facade.Startup(window);
    }