
Hexagonal Constructor
A downloadable asset pack
A clean and lightweight tool
for generating hex-based layouts inside the Unity Editor.
Perfect for roguelikes, strategy games, dungeon crawlers, top-down exploration,
and any project using a hex grid.
Supports both randomized generation and shape-based layouts out of the box.
Core Features
- Random Walk Generation
Deterministic or fully random, seed-based if needed.
- Shape-Based Layouts
Disk, Ring, TwoDisks+Corridor.
- FlatTop and PointyTop Support
Correct axial math for both orientations.
(Prefab rotation is manual)
- Editor Preview System
Fast cached gizmo previews.
Rebuild preview at any time.
- Debug Mode (Play Mode)
Step-by-step generation with adjustable delay.
- Full Source Code
Clean C# architecture, easy to extend.
How to Use
-
Add HexRoomGenerator.cs to any GameObject.
-
Assign a hex prefab (Flat or Pointy) in the Visual section.
-
Choose Generation Mode (Shapes or Randomized) in the Generation section.
- Use:
- Build/Rebuild Preview
- Clear Preview
- Build/Rebuild Generation
- Clear Generation
-
(Optional) Enable Debug Mode to see hexes spawn one-by-one in Play Mode.
All generated hexes appear as children of your GameObject.
Technical Notes
-
Orientation (Flat/Pointy) affects math, not sprite rotation.
-
Rotate your prefab manually if needed.
-
Hex visuals and hex math are fully decoupled.
-
Compatible with Unity 2021.3 or newer.
| Published | 12 hours ago |
| Status | In development |
| Category | Assets |
| Author | xornis |
| Tags | 2D, Asset Pack, Generator, Graphical User Interface (GUI), Hex Based, Instrument, Procedural Generation, Unity, User Interface (UI) |
Purchase
In order to download this asset pack you must purchase it at or above the minimum price of $9.99 USD. You will get access to the following files:







Leave a comment
Log in with itch.io to leave a comment.