NavMeshDataInstance

struct in UnityEngine.AI

Switch to Manual

Description

添加导航网格数据后会返回该实例。

A valid NavMesh data instance is available to the navigation system. This means you can calculate paths etc. using that instance. You also need the instance if you want to remove the NavMesh data at a later time. See Also: Remove.

Variables

owner获取或设置拥有的对象。
valid如果已将导航网格数据添加到导航系统,则为 true;否则为 false(只读)。

Public Functions

Remove从导航网格系统中移除此实例。