We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9eedb4d commit 84bc308Copy full SHA for 84bc308
Runtime/WorldMap/Layers/PoissonMapLayerGenerator.cs
@@ -5,10 +5,17 @@ namespace Gameframe.Procgen
5
[CreateAssetMenu(menuName = "Gameframe/Procgen/Layers/PoissonMapLayerGenerator")]
6
public class PoissonMapLayerGenerator : WorldMapLayerGenerator
7
{
8
- public float radius = 10;
9
- public int maxSamplesPerPoint = 30;
10
- public bool useRegions = true;
11
- public int edgeAvoidance = 0;
+ [SerializeField]
+ private float radius = 10;
+
12
+ private int maxSamplesPerPoint = 30;
13
14
15
+ private bool useRegions = true;
16
17
18
+ private int edgeAvoidance;
19
20
public override void AddToWorld(WorldMapData mapData)
21
0 commit comments