Version: 2017.1

NavMeshDataInstance

struct in UnityEngine.AI

切换到手册

描述

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

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.

变量

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

公共函数

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