A* Pathfinding Project  3.1.4
The A* Pathfinding Project for Unity 3D
 All Classes Namespaces Files Functions Variables Enumerations Properties Groups Pages
IUpdatableGraph Interface Reference
+ Inheritance diagram for IUpdatableGraph:

Public Member Functions

void UpdateArea (GraphUpdateObject o)
 Updates an area using the specified GraphUpdateObject.
 

Member Function Documentation

void UpdateArea ( GraphUpdateObject  o)

Updates an area using the specified GraphUpdateObject.

Notes to implementators. This function should (in order):

  1. Call o.WillUpdateNode on the GUO for every node it will update, it is important that this is called BEFORE any changes are made to the nodes.
  2. Update walkabilty using special settings such as the usePhysics flag used with the GridGraph.
  3. Call Apply on the GUO for every node which should be updated with the GUO.
  4. Update eventual connectivity info if appropriate (GridGraphs updates connectivity, but most other graphs don't since then the connectivity cannot be recovered later).

+ Here is the caller graph for this function:


The documentation for this interface was generated from the following file: