mirror of
https://github.com/BobbyRafael31/Unity-MazeRunner-Pathfinding-Visualizer.git
synced 2025-08-10 08:22:21 +00:00
Feat: Add new grid size
This commit is contained in:
@ -5161,8 +5161,8 @@ MonoBehaviour:
|
||||
saveButton: {fileID: 23184662}
|
||||
loadButton: {fileID: 332997445}
|
||||
exitButton: {fileID: 1403363528}
|
||||
performWarmup: 1
|
||||
showWarmupMessage: 1
|
||||
performWarmup: 0
|
||||
showWarmupMessage: 0
|
||||
mazeSizeDropdown: {fileID: 770082012}
|
||||
mazeDensityDropdown: {fileID: 1448650261}
|
||||
testerPanelPrefab: {fileID: 0}
|
||||
|
@ -286,7 +286,9 @@ public class PathfindingUIManager : MonoBehaviour
|
||||
mazeSizeDropdown.AddOptions(new System.Collections.Generic.List<string> {
|
||||
"Small",
|
||||
"Medium",
|
||||
"Big"
|
||||
"Big",
|
||||
"Very Big"
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
@ -563,6 +565,10 @@ public class PathfindingUIManager : MonoBehaviour
|
||||
sizeX = sizeY = 50;
|
||||
isLargeGrid = true;
|
||||
break;
|
||||
case 3: // Sangat Besar
|
||||
sizeX = sizeY = 100;
|
||||
isLargeGrid = true;
|
||||
break;
|
||||
// If more options are added that exceed MAX_GRID_SIZE, they'll be rejected
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user