Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ElmarJ authored May 4, 2022
1 parent 6096db6 commit e3f9bf9
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,30 @@ See for an example on what can be achieved and how to use it, the [Waterlooplein

## Installation

### Option 1: Through OpenUPM
### Option 1: Using OpenUPM cli

This package is [listed in the OpenUPM repository](https://openupm.com/packages/nl.elmarjansen.geojsoncitybuilder/#). Installation:

```
npm install -g openupm-cli
cd YOUR_UNITY_PROJECT_FOLDER
openupm add com.virgis.geojson.net
openupm add nl.elmarjansen.geojsoncitybuilder
```

Note that this package depends on the geojson package com.virgis.geojson.net being installed.

### Option 2: As a git-link in Unity package manager

1. Click Window -> Package Manager
2. Click + -> Add Package from git URL
3. Type _https://github.com/ElmarJ/GeoJsonCityBuilder_ and click Add
3. Type _https://github.com/ViRGIS-Team/GeoJSON.Net_ and click Add
4. Type _https://github.com/ElmarJ/GeoJsonCityBuilder_ and click Add

## Usage

See https://github.com/ElmarJ/geojsoncitybuilder.devenv for a simple working example in Unity. See https://github.com/ElmarJ/Waterlooplein3D/ for a more advanced example (using the Unity HDRP pipeline).

### Blocks from geojson polygons

1. Create an empty GameObject
Expand Down

0 comments on commit e3f9bf9

Please sign in to comment.