AI 模块实现了 Unity 中的寻路功能。
NavMesh | 单例类,用于访问烘焙的 NavMesh。 |
NavMeshAgent | 导航网格代理。 |
NavMeshBuilder | 导航网格构建器接口。 |
NavMeshData | 包含并表示 NavMesh 数据。 |
NavMeshObstacle | NavMeshAgents 避开的障碍物。 |
NavMeshPath | 导航系统计算的路径。 |
NavMeshBuildDebugSettings | 指定在构建 NavMesh 过程中生成的所有临时数据中,哪些应该在流程完成后保留在内存中。 |
NavMeshBuildMarkup | NavMesh 构建标记允许您控制在 NavMesh 构建过程中如何处理某些对象,特别是在收集构建源时。 |
NavMeshBuildSettings | NavMeshBuildSettings 结构允许您指定一组设置,这些设置描述特定代理类型的尺寸和限制。 |
NavMeshBuildSource | NavMesh 构建器的输入是一个 NavMesh 构建源列表。 |
NavMeshDataInstance | 添加 NavMesh 数据时返回的实例。 |
NavMeshHit | NavMesh 查询的结果信息。 |
NavMeshLinkData | 用于运行时操作连接 NavMesh 多边形的链接。 |
NavMeshLinkInstance | 表示可用于寻路的链接。 |
NavMeshQueryFilter | 指定在搜索 NavMesh 时要考虑哪些代理类型和区域。 |
NavMeshTriangulation | 包含描述导航网格三角剖分的數據。 |
OffMeshLinkData | OffMeshLink 的状态。 |
NavMeshBuildDebugFlags | 用于操作 NavMesh 构建过程的调试数据的位掩码。 |
NavMeshBuildSourceShape | 与 NavMeshBuildSource 一起使用,以定义构建 NavMesh 的形状。 |
NavMeshCollectGeometry | 用于指定要收集的几何类型。与 NavMeshBuilder.CollectSources 一起使用。 |
NavMeshObstacleShape | 障碍物的形状。 |
NavMeshPathStatus | 路径的状态。 |
ObstacleAvoidanceType | 障碍物规避的级别。 |
OffMeshLinkType | 链接类型说明符。 |
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.