包含并表示导航网格数据。
该类的对象可用于创建导航网格的实例。请参阅 NavMesh.AddNavMeshData。可以使用构建 API 构建和更新包含的导航网格。请参阅 NavMeshBuilder 以及其中的方法。
| position | 获取或设置导航网格数据的世界空间位置。 | 
| rotation | 获取或设置导航网格数据的方向。 | 
| sourceBounds | 返回用于构建此导航网格(只读)的输入几何体的包围体积。 | 
| NavMeshData | 构建一个新对象以表示默认 agent 类型的导航网格。 | 
| GetInstanceID | Gets the instance ID of the object. | 
| ToString | 返回对象的名称。 | 
| Destroy | 移除 GameObject、组件或资源。 | 
| DestroyImmediate | 立即销毁对象 /obj/。强烈建议您改用 Destroy。 | 
| DontDestroyOnLoad | 在加载新的 Scene 时,请勿销毁 Object。 | 
| FindAnyObjectByType | Retrieves any active loaded object of Type type. | 
| FindFirstObjectByType | Retrieves the first active loaded object of Type type. | 
| FindObjectOfType | 返回第一个类型为 type 的已加载的激活对象。 | 
| FindObjectsByType | Retrieves a list of all loaded objects of Type type. | 
| FindObjectsOfType | Gets a list of all loaded objects of Type type. | 
| Instantiate | 克隆 original 对象并返回克隆对象。 | 
| bool | 该对象是否存在? | 
| operator != | 比较两个对象是否引用不同的对象。 | 
| operator == | 比较两个对象引用,判断它们是否引用同一个对象。 |