Skip to content

Commit

Permalink
feat: add Unity installation instructions (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
antouhou authored Dec 26, 2020
1 parent 0b39ef0 commit 9d040d1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
HexCore is a library to perform various operations with a hexagonal grid, such as finding shortest paths from one cell to another, managing terrains and movement types, maintaining the grid state, finding various ranges, neighbors, various coordinate systems and converters between them, and some more stuff you may want to do with a hex grid.
## Installation

### Unity:
1. Open the terminal, go to the Assets directory of your Unity project
2. Run `git submodule add https://github.com/antouhou/HexCore.git`
3. Go to the `HexCore` directory that was created on step 2 and delete `HexCore.Tests` directory
(This directory contains unit tests, and will prevent Unity from building the project)

### NuGet:
The library can be installed from [NuGet](https://www.nuget.org/packages/HexCore). Run from the command line `dotnet add package HexCore` in your project or use your IDE of choice.

## Usage
Expand Down

0 comments on commit 9d040d1

Please sign in to comment.