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