Ejemplo n.º 1
0
 /// <summary>
 /// Called after the dungeon is completely built
 /// </summary>
 /// <param name="model">The dungeon model</param>
 public override void OnPostDungeonBuild(Dungeon dungeon, DungeonModel model)
 {
     if (navMesh != null)
     {
         navMesh.Build();
     }
     else
     {
         Debug.LogWarning("Cannot automatically rebuild nav mesh as it is not assigned to the dungeon event listener");
     }
 }