|
void | DeSerializeNodes (Node[] nodes, AstarSerializer serializer) |
|
void | DeSerializeSettings (AstarSerializer serializer) |
|
void | GenerateMatrix () |
|
override NNInfo | GetNearest (Vector3 position, NNConstraint constraint, Node hint=null) |
| Returns the nearest node to a position using the specified NNConstraint.
|
|
override void | Scan () |
| Scans the graph, called from AstarPath.Scan Override this function to implement custom scanning logic
|
|
void | SerializeNodes (Node[] nodes, AstarSerializer serializer) |
|
void | SerializeSettings (AstarSerializer serializer) |
|
virtual void | Awake () |
| This will be called on the same time as Awake on the gameObject which the AstarPath script is attached to.
|
|
virtual Node[] | CreateNodes (int number) |
| Creates a number of nodes with the correct type for the graph.
|
|
virtual void | DeserializeExtraInfo (byte[] bytes) |
| Deserializes graph type specific node data.
|
|
NNInfo | GetNearest (Vector3 position) |
| Returns the nearest node to a position using the default NNConstraint.
|
|
NNInfo | GetNearest (Vector3 position, NNConstraint constraint) |
| Returns the nearest node to a position using the specified NNConstraint.
|
|
virtual NNInfo | GetNearestForce (Vector3 position, NNConstraint constraint) |
| Returns the nearest node to a position using the specified constraint.
|
|
bool | InSearchTree (Node node, Path path) |
| Returns if the node is in the search tree of the path.
|
|
virtual Color | NodeColor (Node node, NodeRunData data) |
|
virtual void | OnDestroy () |
| Function for cleaning up references.
|
|
virtual void | OnDrawGizmos (bool drawNodes) |
|
virtual void | PostDeserialization () |
| Called after all deserialization has been done for all graphs.
|
|
virtual void | RelocateNodes (Matrix4x4 oldMatrix, Matrix4x4 newMatrix) |
| Relocates the nodes in this graph.
|
|
void | SafeOnDestroy () |
| SafeOnDestroy should be used when there is a risk that the pathfinding is searching through this graph when called
|
|
void | ScanGraph () |
| Consider using AstarPath.Scan () instead since this function might screw things up if there is more than one graph.
|
|
virtual byte[] | SerializeExtraInfo () |
| Serializes graph type specific node data.
|
|
Node[] | CreateNodes (int num) |
|
void | DeSerializeNodes (Node[] nodes, AstarSerializer serializer) |
|
void | SerializeNodes (Node[] nodes, AstarSerializer serializer) |
|
void | DeSerializeSettings (AstarSerializer serializer) |
| Called to deserialize the object.
|
|
void | SerializeSettings (AstarSerializer serializer) |
| Called to serialize the object.
|
|