Version: 2019.1 (switch to 2018.3 or 2017.4)
LanguageEnglish
  • C#

UnityEngine.AIModule

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

The AI module implements the path finding features in Unity.

Classes

NavMeshSingleton class to access the baked NavMesh.
NavMeshAgentNavigation mesh agent.
NavMeshBuilderNavigation mesh builder interface.
NavMeshDataContains and represents NavMesh data.
NavMeshObstacleAn obstacle for NavMeshAgents to avoid.
NavMeshPathA path as calculated by the navigation system.
OffMeshLinkLink allowing movement outside the planar navigation mesh.

Structs

NavMeshBuildDebugSettingsSpecify which of the temporary data generated while building the NavMesh should be retained in memory after the process has completed.
NavMeshBuildMarkupThe NavMesh build markup allows you to control how certain objects are treated during the NavMesh build process, specifically when collecting sources for building.
NavMeshBuildSettingsThe NavMeshBuildSettings struct allows you to specify a collection of settings which describe the dimensions and limitations of a particular agent type.
NavMeshBuildSourceThe input to the NavMesh builder is a list of NavMesh build sources.
NavMeshDataInstanceThe instance is returned when adding NavMesh data.
NavMeshHitResult information for NavMesh queries.
NavMeshLinkDataUsed for runtime manipulation of links connecting polygons of the NavMesh.
NavMeshLinkInstanceAn instance representing a link available for pathfinding.
NavMeshLocationA world position that is guaranteed to be on the surface of the NavMesh.
NavMeshQueryObject used for doing navigation operations in a NavMeshWorld.
NavMeshQueryFilterSpecifies which agent type and areas to consider when searching the NavMesh.
NavMeshTriangulationContains data describing a triangulation of a navmesh.
NavMeshWorldAssembles together a collection of NavMesh surfaces and links that are used as a whole for performing navigation operations.
OffMeshLinkDataState of OffMeshLink.
PolygonIdRepresents a compact identifier for the data of a NavMesh node.

Enumerations

NavMeshBuildDebugFlagsBitmask used for operating with debug data from the NavMesh build process.
NavMeshBuildSourceShapeUsed with NavMeshBuildSource to define the shape for building NavMesh.
NavMeshCollectGeometryUsed for specifying the type of geometry to collect. Used with NavMeshBuilder.CollectSources.
NavMeshObstacleShapeShape of the obstacle.
NavMeshPathStatusStatus of path.
NavMeshPolyTypesThe types of nodes in the navigation data.
ObstacleAvoidanceTypeLevel of obstacle avoidance.
OffMeshLinkTypeLink type specifier.
PathQueryStatusBit flags representing the resulting state of NavMeshQuery operations.

Did you find this page useful? Please give it a rating: