コード例 #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);
        }
コード例 #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();
    }
コード例 #4
0
    void Awake()
    {
        ApplicationFacade facade = ApplicationFacade.Instance as ApplicationFacade;

        facade.Startup(this);
    }
コード例 #5
0
    void Start()
    {
        ApplicationFacade facade = (ApplicationFacade)ApplicationFacade.Instance;

        facade.Startup(window);
    }