Пример #1
0
 /// <summary>
 /// 初始化默认管理器
 /// </summary>
 public void InitDefaultManagers()
 {
     _timerManager = new TimerManager();
     AddManager(_timerManager);
     _stageManager = new StageManager();
     AddManager(_stageManager);
     _pathManager = new PathManager();
     AddManager(_pathManager);
     _logManager = new LogManager();
     AddManager(_logManager);
     _langManager = new LangManager();
     AddManager(_langManager);
     _socketManager = new SocketManager();
     AddManager(_socketManager);
     _tableManager = new TableManager();
     AddManager(_tableManager);
     _objectPoolManager = new ObjectPoolManager();
     AddManager(_objectPoolManager);
     _fileManager = new FileManager();
     AddManager(_fileManager);
     _resourceManager = new ResourceManager();
     AddManager(_resourceManager);
     _assetManager = new AssetManager();
     AddManager(_assetManager);
     _audioManager = new AudioManager();
     AddManager(_audioManager);
     _sceneManager = new ScenesManager();
     AddManager(_sceneManager);
     _touchManager = new TouchManager();
     AddManager(_touchManager);
     _platformManager = new PlatformManager();
     AddManager(_platformManager);
 }
 public LanguageAppService(ILangManager languageManager)
 {
     _languageManager = languageManager;
 }