public void InitMap() { _tilePool.SetRootTransform(transform); _tilePool.SetTile(Tile); SpawnCharacter(); CreateStartPlatform(_startFieldSize); for (; _character.GetCurrentMaxTileCoords() + DistanceTileGenerationForward > GetCurrentTileEndCoords();) { CreateRandomTile(); } }