public NavigationAgent(NavigationMesh navMesh) { navigationMesh = navMesh; aStar = new AStarSearch(navMesh); }
public AStarSearch(NavigationMesh navigation) { navMesh = navigation; }
public static void Instalize(Vertex3D[] mesh, int[] indexes) { navMesh = new NavigationMesh(mesh, indexes); }