示例#1
0
    void Awake()
    {
        ApplicationFacade facade = ApplicationFacade.Instance;

        facade.RegisterCommand(NotificationEnum.STARTUP, typeof(StartupCommand));

        //启动PureMVC程序,执行StartUP()方法,传入
        facade.StartUp(PureViewComponents);
    }
示例#2
0
 static int StartUp(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         ApplicationFacade obj = (ApplicationFacade)ToLua.CheckObject <ApplicationFacade>(L, 1);
         obj.StartUp();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
示例#3
0
    private void Start()
    {
        ApplicationFacade facade = new ApplicationFacade();

        facade.StartUp(this);
    }
示例#4
0
        // Use this for initialization
        void Start()
        {
            ApplicationFacade facade = ApplicationFacade.Instance as ApplicationFacade;

            facade.StartUp(ProConst.PRO_UIFORM_LOGINUIFORM);
        }