A downloadable tool

Buy Now$9.99 USD or more

< Tool Preview >

                                            


                                                                                                

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 Generation
    Deterministic or fully random, seed-based if needed.
  • Shape Generation
    Disk, Ring, Spiral, etc.
  • 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 >

                                            

  1. Add HexRoomGenerator.cs to any GameObject.

  2. Assign a hex prefab (Flat or Pointy) in the Tile Visuals section.

  3. Choose Generation Mode (Shapes or Randomized) in the Generation Settings section.

  4. Use:
    • Rebuild Preview
    • Clear Preview
    • Rebuild Generation
    • Clear Generation
  5. (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 >

                                            

  • Current Version: v1.1
  • 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.

                                                                                                

Updated 23 days ago
StatusOn hold
CategoryTool
Rating
Rated 5.0 out of 5 stars
(1 total ratings)
Authorxornis
Tags2D, Generator, Graphical User Interface (GUI), Hex Based, Instrument, Procedural Generation, Unity, unity-tool, User Interface (UI)

Purchase

Buy Now$9.99 USD or more

In order to download this tool you must purchase it at or above the minimum price of $9.99 USD. You will get access to the following files:

Unity Package v1.1 31 kB

Development log

Leave a comment

Log in with itch.io to leave a comment.