mirror of
https://github.com/BobbyRafael31/Unity-MazeRunner-Pathfinding-Visualizer.git
synced 2025-08-13 08:52:21 +00:00
Feat: Add new grid size
This commit is contained in:
@ -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