You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to integrate pathfindax with duality it needs to be easily accessible from other components. The following steps have to be done to achieve this:
Create a PathfinderComponent component which implements a IPathfinder interface. The completed paths should be checked in the before update of the core plugin.
Create a PathfinderManagerComponent will find all IPathfinderComponents in the scene and store this in a public static property.
Since the way the pathfinder is accessed might be changed in the future and static properties do not give you this flexibily there needs to be a layer of abstraction between the static property. A Proxy class which sits between these systems is suited for this.
Analysis
This makes it possible for other classes to easily request a path.
The text was updated successfully, but these errors were encountered:
Summary
This applies to the Pathfindax.Duality project.
In order to integrate pathfindax with duality it needs to be easily accessible from other components. The following steps have to be done to achieve this:
Analysis
This makes it possible for other classes to easily request a path.
The text was updated successfully, but these errors were encountered: