This commit is contained in:
Lucastaa
2026-05-08 09:50:34 +07:00
parent 1e81f24053
commit 29dfa4d843
5 changed files with 28 additions and 12 deletions

View File

@@ -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++;
}

View File

@@ -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;
}
}

View File

@@ -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
};
}