private void PositionPlayers() { int[,] floodGrid = Grids.Flatten(finalGrid, 0); pathFinder.GetComponent <PathFinder>().CreateSpawns(floodGrid, maxPointDeviation); }