All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
CityBuilderCore.NavMeshUpdater Class Reference

Detailed Description

can be used to update the navmesh at runtime using known components
source creation taken from https://github.com/Unity-Technologies/NavMeshComponents

https://citybuilder.softleitner.com/manual

Inheritance diagram for CityBuilderCore.NavMeshUpdater:

Public Member Functions

void UpdateNavMesh ()
 

Public Attributes

Bounds Bounds
 
Terrain[] Terrains
 
MeshFilter[] Meshes
 
MeshFilter[] MeshesNotWalkable
 
float AgentRadius = 0.5f
 
float AgentHeight = 2f
 
float MaxSlope = 45
 
float StepHeight = 0.5f