Class NavMeshSourceTag
Tagging component for use with the LocalNavMeshBuilder Supports mesh-filter and terrain - can be extended to physics and/or primitives
Inherited Members
Namespace: Global Namespace
Syntax
[DefaultExecutionOrder(-200)]
public class NavMeshSourceTag : MonoBehaviour
Fields
m_Meshes
Declaration
public static List<MeshFilter> m_Meshes
Field Value
| Type | Description |
|---|---|
| List<MeshFilter> |
m_Terrains
Declaration
public static List<Terrain> m_Terrains
Field Value
| Type | Description |
|---|---|
| List<Terrain> |
Methods
Collect(ref List<NavMeshBuildSource>)
Collect all the navmesh build sources for enabled objects tagged by this component
Declaration
public static void Collect(ref List<NavMeshBuildSource> sources)
Parameters
| Type | Name | Description |
|---|---|---|
| List<NavMeshBuildSource> | sources | Collected NavMesh build sources |