Example #1
0
 /**
  * <summary>Unregisters a NavMeshBase, so that it is no longer updated</summary>
  * <param name = "_object">The NavMeshBase to unregister</param>
  */
 public void Unregister(NavMeshBase _object)
 {
     if (navMeshBases.Contains(_object))
     {
         navMeshBases.Remove(_object);
     }
 }
Example #2
0
 /**
  * <summary>Registers a NavMeshBase, so that it can be updated</summary>
  * <param name = "_object">The NavMeshBase to register</param>
  */
 public void Register(NavMeshBase _object)
 {
     if (!navMeshBases.Contains(_object))
     {
         navMeshBases.Add(_object);
         _object.IgnoreNavMeshCollisions();
     }
 }
Example #3
0
 /**
  * <summary>Unregisters a NavMeshBase, so that it is no longer updated</summary>
  * <param name = "_object">The NavMeshBase to unregister</param>
  */
 public void Unregister(NavMeshBase _object)
 {
     navMeshBases.Remove(_object);
 }