DotRecastNetSim/test/DotRecast.Detour.TileCache..../TestTileCacheMeshProcess.cs

16 lines
320 B
C#

using DotRecast.Recast.Geom;
namespace DotRecast.Detour.TileCache.Test;
public class TestTileCacheMeshProcess : IDtTileCacheMeshProcess
{
public void Process(DtNavMeshCreateParams option)
{
for (int i = 0; i < option.polyCount; ++i)
{
option.polyFlags[i] = 1;
}
}
}