Change
This commit is contained in:
@@ -108,8 +108,8 @@ namespace Hallucinate.GameSetup.Maze
|
||||
int z = pos.y;
|
||||
|
||||
// Set stair cells
|
||||
currentFloor.SetCell(x, z, MazeCellType.StairUp);
|
||||
nextFloor.SetCell(x, z, MazeCellType.StairDown);
|
||||
currentFloor.SetCell(x, z, MazeCellType.StairsUp);
|
||||
nextFloor.SetCell(x, z, MazeCellType.StairsDown);
|
||||
|
||||
connectionsMade++;
|
||||
}
|
||||
|
||||
@@ -238,8 +238,8 @@ namespace Hallucinate.GameSetup.Maze
|
||||
|| type == MazeCellType.Start
|
||||
|| type == MazeCellType.End
|
||||
|| type == MazeCellType.Path
|
||||
|| type == MazeCellType.StairUp
|
||||
|| type == MazeCellType.StairDown;
|
||||
|| type == MazeCellType.StairsUp
|
||||
|| type == MazeCellType.StairsDown;
|
||||
}
|
||||
|
||||
// =================================================================================
|
||||
@@ -268,6 +268,7 @@ namespace Hallucinate.GameSetup.Maze
|
||||
|
||||
if (target != null)
|
||||
{
|
||||
// Scale
|
||||
target.localScale = finalScale;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -41,8 +41,8 @@ namespace Hallucinate.GameSetup.Maze
|
||||
MazeCellType.Path => pathPrefab,
|
||||
MazeCellType.Start => startPrefab,
|
||||
MazeCellType.End => endPrefab,
|
||||
MazeCellType.StairUp => stairUpPrefab,
|
||||
MazeCellType.StairDown => stairDownPrefab,
|
||||
MazeCellType.StairsUp => stairUpPrefab,
|
||||
MazeCellType.StairsDown => stairDownPrefab,
|
||||
_ => null
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user