// Use this for initialization void Start() { new PlayerManager(); new NpcManager(); NetworkManager.Instance.Close(); ////读取游戏配置信息 //GameConfig.Instance.Init(); GameStateManager.Instance.EnterDefaultState(); //初始化逻辑对象 CGLCtrl_GameLogic logini = CGLCtrl_GameLogic.Instance; //预加载,减少进入游戏资源加载卡顿 ConfigReader.Init(); GameMethod.FileRead(); //预加载特效信息 ReadPreLoadConfig.Instance.Init(); //需要释放的资源信息 ReadReleaseResourceConfig.Instance.Init(); }