A hexagonal board implementation in Unity
The reasons that I made this project are the following:
- It can easily be extented or integrated into a secondary project.
- Usage of Unity TileMaps components: I could not find in the web an implementation that binds this unity native component and the math described in redblob with a graphic interface.
- Ready to go: I’d like to have a set of generic classes that manage hexagons and are able to store any kind of data.
Since the requirements above are met, I do believe this repository can save some time in the implementation of hexagonal prototypes/projects that are unity based.
Feel free to use it. Any kind of feedback is well appreciated.
You can find below images that illustrate the funcionalities and an overview of the system’s implementation.
Playable demo here
Shapes & Sizes
Menu & Interface
The interface menu to interact with the board data and test the operations.
//TODO: Documentation details…