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