File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ A low poly terrain generator for the Unity Engine as a editor tool.
8
8
## Usage
9
9
To use the terrain generator within the Unity Editor, navigate to _ GameObject > Generate Low Poly Terrain_ .
10
10
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 )
12
12
13
13
A new window (Wizard) appears on the screen. Parameters to adjust are:
14
14
- * Length* of the terrain
@@ -62,7 +62,7 @@ Also add a new case to the [HeightStrategyFactory](https://github.com/escheierma
62
62
``` c#
63
63
public static HeightStrategy Create (TerrainOptions options ) {
64
64
HeightStrategy strategy ;
65
- switch (options .heightAlgorithm ) {
65
+ switch (options .heightSource ) {
66
66
case HeightStrategyType .MyNewStrategy : // Add your new strategy here
67
67
strategy = new MyNewStrategy (options .length , options .width , options .maximumHeight );
68
68
break ;
You can’t perform that action at this time.
0 commit comments