Class RandomPathWalker
Inheritance
RandomPathWalker
Syntax
public class RandomPathWalker
Methods
CalculatePath(Vector2Int, Vector2Int, Vector2Int, List<Vector2Int>, Rng, float, float, bool)
Declaration
public void CalculatePath(Vector2Int start, Vector2Int goal, Vector2Int bounds, List<Vector2Int> path, Rng rngInstance, float biasValue, float randomnessValue, bool useHexCoords = false)
Parameters
| Type |
Name |
Description |
| Vector2Int |
start |
|
| Vector2Int |
goal |
|
| Vector2Int |
bounds |
|
| List<Vector2Int> |
path |
|
| Rng |
rngInstance |
|
| float |
biasValue |
|
| float |
randomnessValue |
|
| bool |
useHexCoords |
|