Property | Type | Description | |
---|---|---|---|
displayGridGizmos | bool | ||
gridWorldSize | Vector2 | ||
nodeRadius | float | ||
unwalkableMask | LayerMask |
Method | Description | |
---|---|---|
Awake ( ) : void | ||
CreateGrid ( ) : void | ||
GetNeighbours ( Node node ) : List |
||
NodeFromWorldPoint ( Vector2 worldPosition ) : Node | ||
OnDrawGizmos ( ) : void |
public NodeFromWorldPoint ( Vector2 worldPosition ) : Node | ||
worldPosition | Vector2 | |
return | Node |