Свойство | Тип | Описание | |
---|---|---|---|
displayGridGizmos | bool | ||
gridWorldSize | Vector2 | ||
nodeRadius | float | ||
unwalkableMask | LayerMask |
Метод | Описание | |
---|---|---|
Awake ( ) : void | ||
CreateGrid ( ) : void | ||
GetNeighbours ( Node node ) : List |
||
NodeFromWorldPoint ( Vector2 worldPosition ) : Node | ||
OnDrawGizmos ( ) : void |
public NodeFromWorldPoint ( Vector2 worldPosition ) : Node | ||
worldPosition | Vector2 | |
Результат | Node |