Skip to content

Commit 5d70935

Browse files
authored
Update README.md
1 parent 4b2318b commit 5d70935

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ A low poly terrain generator for the Unity Engine as a editor tool.
88
## Usage
99
To use the terrain generator within the Unity Editor, navigate to _GameObject > Generate Low Poly Terrain_.
1010

11-
![editor2](https://user-images.githubusercontent.com/39056343/157113447-15e473a0-729d-4615-90bf-07e4ac7ed688.PNG)
11+
![editor2](https://user-images.githubusercontent.com/39056343/157121107-a352f1d3-fcb5-4807-8133-ab20c9e9e0b5.PNG)
1212

1313
A new window (Wizard) appears on the screen. Parameters to adjust are:
1414
- *Length* of the terrain
@@ -62,7 +62,7 @@ Also add a new case to the [HeightStrategyFactory](https://github.com/escheierma
6262
```c#
6363
public static HeightStrategy Create(TerrainOptions options) {
6464
HeightStrategy strategy;
65-
switch (options.heightAlgorithm) {
65+
switch (options.heightSource) {
6666
case HeightStrategyType.MyNewStrategy: // Add your new strategy here
6767
strategy = new MyNewStrategy(options.length, options.width, options.maximumHeight);
6868
break;

0 commit comments

Comments
 (0)