From 5d70935b3b76db5ee28d2679e088b1fd72f65fb0 Mon Sep 17 00:00:00 2001 From: escheiermann <39056343+escheiermann@users.noreply.github.com> Date: Mon, 7 Mar 2022 22:32:30 +0100 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2578422..5353091 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ A low poly terrain generator for the Unity Engine as a editor tool. ## Usage To use the terrain generator within the Unity Editor, navigate to _GameObject > Generate Low Poly Terrain_. -![editor2](https://user-images.githubusercontent.com/39056343/157113447-15e473a0-729d-4615-90bf-07e4ac7ed688.PNG) +![editor2](https://user-images.githubusercontent.com/39056343/157121107-a352f1d3-fcb5-4807-8133-ab20c9e9e0b5.PNG) A new window (Wizard) appears on the screen. Parameters to adjust are: - *Length* of the terrain @@ -62,7 +62,7 @@ Also add a new case to the [HeightStrategyFactory](https://github.com/escheierma ```c# public static HeightStrategy Create(TerrainOptions options) { HeightStrategy strategy; - switch (options.heightAlgorithm) { + switch (options.heightSource) { case HeightStrategyType.MyNewStrategy: // Add your new strategy here strategy = new MyNewStrategy(options.length, options.width, options.maximumHeight); break;