Skip to content

harrisonheld/UnityWorldGen

Repository files navigation

Installation from Git

This is how you should download the project as an end user. If you just want to use our package, and are not interested in developing, do this.

  1. In Unity, go to the Package Manager. image

  2. In the package manager, select Add package from git URL. image

  3. Enter 'https://github.com/harrisonheld/UnityWorldGen.git' and add it. image

Installation from Disk

If you are a developer and want to edit the package, use this method of installation.

Download a release or this repo, and in the Package Manager, select Add package from Disk. Select the project's package.json. image

Usage

This tutorial assumes you are familiar with Unity.

  1. Add a new Empty to your scene.
  2. Click 'Add Component' in the inspector and search for CustomTerrain (World Generator).
  3. You will need to add a biome before you generate, so use the Add Biome section to add one.
  4. Click 'Generate Terrain'.

Unit Testing

To run unit tests, you must list the package as a testable in your project's manifest.

Open your Unity project (this is your own project on your own local machine) in the file explorer. image

Open manifest.json and add the following line at the bottom. image "testables": [ "com.csce482.worldgenerator" ]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors