Пример #1
0
        public void CreateMap(MapGenerationParameters genParams)
        {
            //Create new map
            _tileMap.InitMap(genParams, transform);

            //Init stuff for map
            var mapInfo = _tileMap.mapInfo;

            _fog.Setup(mapInfo);
            _mapCollision.Setup(mapInfo);
        }