Over 11,000 five-star assets
Rated by 85,000+ customers
Supported by 100,000+ forum members
Every asset moderated by Unity
1/5
MazeGenerator is using for creating custom 2D maze. You can use custom wall to create your custom maze. Maze is using backtrack algorithm and cell system: each cell is rectangle and maze size is measured in cells. MazeGenerator can use seed for create same mazes(example: you want save/load generated level and you just can save/load only seed value) and mazeGenerator can create everytime random maze.
To create maze you can use prefabs(maze will automatically created) or use maze skeleton(get wall positions). At this moment walls using rectangle prefabs(walls) to create maze.
Main functions of script:
1. Delete maze
2. Create maze new width and height
3. Create maze with seed(to create same mazes)
4. Set new prefab for wall, start and end walls
5. Get all impasses (cell center positions in array of Vector2)
6. Get all crossroads (cell center positions in array of Vector2)
7. Get all cell centers (cell center positions in array of Vector2)
8. Get way from start to end (cell center positions in array of Vector2)
9. Get gameObject of the start and end wall
10. Verify the position on the wall
11. SetSeed rules
Pro 2D: https://assetstore.unity.com/packages/templates/systems/amazing-maze-creator-2d-pro-143363 Demo 3D: https://assetstore.unity.com/packages/3d/environments/amazing-maze-generator-free-demo-155150 Full 3D: https://assetstore.unity.com/packages/3d/environments/amazing-maze-generator-142633 Pro 3D: https://assetstore.unity.com/packages/3d/environments/amazing-maze-generator-pro-155157
To create maze you can use prefabs(maze will automatically created) or use maze skeleton(get wall positions). At this moment walls using rectangle prefabs(walls) to create maze.
Main functions of script:
1. Delete maze
2. Create maze new width and height
3. Create maze with seed(to create same mazes)
4. Set new prefab for wall, start and end walls
5. Get all impasses (cell center positions in array of Vector2)
6. Get all crossroads (cell center positions in array of Vector2)
7. Get all cell centers (cell center positions in array of Vector2)
8. Get way from start to end (cell center positions in array of Vector2)
9. Get gameObject of the start and end wall
10. Verify the position on the wall
11. SetSeed rules
Pro 2D: https://assetstore.unity.com/packages/templates/systems/amazing-maze-creator-2d-pro-143363 Demo 3D: https://assetstore.unity.com/packages/3d/environments/amazing-maze-generator-free-demo-155150 Full 3D: https://assetstore.unity.com/packages/3d/environments/amazing-maze-generator-142633 Pro 3D: https://assetstore.unity.com/packages/3d/environments/amazing-maze-generator-pro-155157
Amazing maze creator 2D
(not enough ratings)
20 users have favourite this asset
(20)
$5
Seat
1
Updated price and taxes/VAT calculated at checkout
Refund policy
Secure checkout:

License agreement
Standard Unity Asset Store EULALicense type
File size
846.8 KB
Latest version
1.0
Latest release date
Mar 5, 2020
Original Unity version
2019.3.0
Support
Visit siteQuality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Language
Feedback
Partners Program
PartnersUSD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR