public void SetNavMesh(NavMesh mesh) { _mesh = mesh; }
static void OnNavMeshGenerated(long navMeshId, int w, int h, float[] origin, float tileW, float tileH, int maxTiles) { var mesh = new NavMesh(navMeshId, w, h, new Vector3(origin[0], origin[1], origin[2]), tileW, tileH, maxTiles); UnfinishedNavMeshes.Add(navMeshId, mesh); }
private void OnNewNavMesh(NavMesh mesh) { // toy around with mesh _manager.MeshManager.SetNavMesh(mesh); }