Skip to content

Custom package to use hex tiling in your Unity project

License

Notifications You must be signed in to change notification settings

DarkRewar/HexTile

Repository files navigation

Hex Tile

License

Purpose

This package is based on the @ManevilleF's hexx repo, written in Rust.

Hex Grid Generation

Hexagon

If you want to generate an hexagonal grid, you can use Lignus.HexTile.Generation.Hexagon()

int gridRadius = 5;
List<Hex> grid = Generation.Hexagon(gridRadius);

// or
int gridRadius = 5;
Hex center = new(4,5);
List<Hex> grid = Generation.Hexagon(center, gridRadius);

Parallelogram

If you want to generate

About

Custom package to use hex tiling in your Unity project

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages