Пример #1
0
 protected App(CoreMain _core)
 {
     core     = _core;
     lua      = Lua.LuaUtil.NewLuaEnv();
     logicMgr = new LogicMgr(this);
     stateMgr = new AppStateMgr(this);
 }
Пример #2
0
 protected App(CoreMain _mono)
 {
     root     = _mono;
     uiRoot   = GameObject.FindObjectOfType <UIRoot>();
     lua      = Lua.LuaUtil.NewLuaEnv();
     logicMgr = new LogicMgr(this);
     stateMgr = new AppStateMgr(this);
 }
Пример #3
0
 public AppStateQuit(AppStateMgr stateMgr) : base(stateMgr, EAppState.Quit)
 {
 }
Пример #4
0
 public AppStateWaitTask(AppStateMgr stateMgr) : base(stateMgr, EAppState.WaitTask)
 {
 }
Пример #5
0
 public AppStateInit(AppStateMgr stateMgr) : base(stateMgr, EAppState.Init)
 {
 }
Пример #6
0
 public AppStateMainLogic(AppStateMgr stateMgr) : base(stateMgr, EAppState.MainLogic)
 {
 }