Property | Type | Description | |
---|---|---|---|
nodes | ].Node[ | ||
size_x | int | ||
size_y | int |
Method | Description | |
---|---|---|
BlockNode ( Vector3 position ) : bool | ||
CorrectInitialPosition ( Vector3 vector ) : Vector3 |
Corrects the Y position of the Vector3 to layer correctly with the rest of the map. Uses the original Y value of the vector.
|
|
CorrectPosition ( Vector3 vector ) : Vector3 |
Corrects the Y position of the Vector3 to layer correctly with the rest of the map. Does not use the original Y value of the vecotor.
|
|
GetClosestNode ( Vector3 location ) : Node |
Gets the tile from location.
|
|
GetDestinationNode ( ) : Node | ||
GetNodeFromLocation ( Vector3 location ) : Node |
Gets the tile from location.
|
|
GetSpawnNodes ( ) : Node[] | ||
NodeManager ( ) : System | ||
UnBlockNode ( Vector3 position ) : void |
Method | Description | |
---|---|---|
BuildNodes ( ) : void | ||
ConnectNodes ( ) : void | ||
MakeNodes ( ) : void | ||
SetGridPosition ( ) : void | ||
SetGridSize ( ) : void |
public CorrectInitialPosition ( Vector3 vector ) : Vector3 | ||
vector | Vector3 | The original position of the object |
return | Vector3 |
public CorrectPosition ( Vector3 vector ) : Vector3 | ||
vector | Vector3 | The original position of the object |
return | Vector3 |
public GetClosestNode ( Vector3 location ) : Node | ||
location | Vector3 | |
return | Node |
public GetNodeFromLocation ( Vector3 location ) : Node | ||
location | Vector3 | |
return | Node |
public UnBlockNode ( Vector3 position ) : void | ||
position | Vector3 | |
return | void |