Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
Game Toolkits
1/15
loading
loading
loading
loading
loading
MazeGenerator is using for creating custom 3D maze. You can use custom wall, floor and ceiling textures to create your custom 3D maze. Maze is using backtrack algorithm.
Main functions of MazeGenerator :

 1. Delete maze

 2. Create maze new width and height

 3. Set new prefab for wall, ground, ceiling, start and end walls

 4. Get all impasses (cell center positions in array of Vector3)

 5. Get all crossroads (cell center positions in array of Vector3)

 6. Get all cell centers (cell center positions in array of Vector3)

 7. Get way from start to end (cell center positions in array of Vector3)

 8. Get gameObject of the start and end wall

 9. Create maze with seed(to create same mazes)

 10. Verify the position on the wall

 11. Function to create rooms with width and height(*in cells)

 12. Function for get position of walls(positions in array of Vector3)

 13. Function for set tunnel width

 14. Set prefabs for corner wall, tee wall, cross wall, impasse wall

 15. Get way from Point1(Vector3) to Point2(Vector3) (cell center positions in array of Vector3)

 16. Get room entrance for doors or something

 17. Get positions at walls in each cell to spawn some stuff

 18. Get positions at walls to spawn some stuff

 19. Full source code for MazeSkeleton class

 20. In editor maze creating – you can create mazes in editor and save them as prefab

Walls is consisting from cubes 1x1x1 size(y component is variable),this mechanism of using walls allows you to use the maze in games like minecraft.
More information in documentation!

Amazing Maze Generator Pro

(4)
62 users have favourite this asset
(62)
$15
Seat
1
Updated price and taxes/VAT calculated at checkout
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
License type
File size
1.5 MB
Latest version
1.05
Latest release date
Nov 24, 2020
Original Unity version
2019.3.0
Support
Visit site
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR