Esempio n. 1
0
 protected App(CoreMain _core)
 {
     core     = _core;
     lua      = Lua.LuaUtil.NewLuaEnv();
     logicMgr = new LogicMgr(this);
     stateMgr = new AppStateMgr(this);
 }
Esempio n. 2
0
 protected App(CoreMain _mono)
 {
     root     = _mono;
     uiRoot   = GameObject.FindObjectOfType <UIRoot>();
     lua      = Lua.LuaUtil.NewLuaEnv();
     logicMgr = new LogicMgr(this);
     stateMgr = new AppStateMgr(this);
 }
Esempio n. 3
0
 public void SetOwner(LogicMgr owner)
 {
     UnityEngine.Debug.Assert(null == m_owner);
     UnityEngine.Debug.Assert(null != owner);
     m_owner = owner;
 }