Version: Unity 6.1 Alpha (6000.1)
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.

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.
NavMeshLinkInstanceRepresents a link available for pathfinding.
NavMeshQueryFilterSpecifies which agent type and areas to consider when searching the NavMesh.
NavMeshTriangulationContains data describing a triangulation of a navmesh.
OffMeshLinkDataState of OffMeshLink.

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.
ObstacleAvoidanceTypeLevel of obstacle avoidance.
OffMeshLinkTypeLink type specifier.