public MapGenTileListener(MapGenManager manager)
        {
            m_manager = manager;

            IMessageBus messageBus = m_manager.GetService <IMessageBus>();

            messageBus.AsObservable <TileLoadFinishMessage>().Do(m => OnTileLoadFinish(m.Tile)).Subscribe();
            messageBus.AsObservable <WorldLoadFinishMessage>().Do(m => OnWorldLoadFinish()).Subscribe();
        }
 private void OnTileLoadFinish(Tile tile)
 {
     m_manager.GetService <MapGenTileExporter>().ExportTile(tile);
 }