Пример #1
0
 public NavigationAgent(NavigationMesh navMesh)
 {
     navigationMesh = navMesh;
     aStar          = new AStarSearch(navMesh);
 }
Пример #2
0
 public AStarSearch(NavigationMesh navigation)
 {
     navMesh = navigation;
 }
Пример #3
0
 public static void Instalize(Vertex3D[] mesh, int[] indexes)
 {
     navMesh = new NavigationMesh(mesh, indexes);
 }