Feat: Add new grid size

This commit is contained in:
Bobby Rafael
2025-07-09 15:47:32 +07:00
parent 7eeb3a3f35
commit 78fd42ebc2
2 changed files with 9 additions and 3 deletions

View File

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

View File

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