Exemple #1
0
 public NavMesh EnsureNavMeshLoaded()
 {
     if (NavMesh == null && NavMeshBuilder.AutoLoadNavmeshes)
     {
         var builder = new NavMeshBuilder(this);
         builder.BuildMesh(this);
     }
     return(NavMesh);
 }