You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
I've added comments to make it clearer this feature is unsupported and removed the height variable that isn't used to simplify and tidy up the existing code. #jira UE-135621 #review-19809739 #rb Mieszko.Zielinski #preflight 625ee03d034d8924cdcc72f1 [CL 19826653 by Stephen Holmes in ue5-main branch]
35 lines
858 B
C#
35 lines
858 B
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
namespace UnrealBuildTool.Rules
|
|
{
|
|
public class Navmesh : ModuleRules
|
|
{
|
|
public Navmesh(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
PublicIncludePaths.Add("Runtime/Navmesh/Public");
|
|
PrivateIncludePaths.Add("Runtime/Navmesh/Private");
|
|
|
|
PrivateDependencyModuleNames.AddRange(new string[] { "Core" });
|
|
|
|
// This is an unsupported feature and has not been finished to production quality.
|
|
if (Target.bCompileNavmeshSegmentLinks)
|
|
{
|
|
PublicDefinitions.Add("WITH_NAVMESH_SEGMENT_LINKS=1");
|
|
}
|
|
else
|
|
{
|
|
PublicDefinitions.Add("WITH_NAVMESH_SEGMENT_LINKS=0");
|
|
}
|
|
|
|
if (Target.bCompileNavmeshClusterLinks)
|
|
{
|
|
PublicDefinitions.Add("WITH_NAVMESH_CLUSTER_LINKS=1");
|
|
}
|
|
else
|
|
{
|
|
PublicDefinitions.Add("WITH_NAVMESH_CLUSTER_LINKS=0");
|
|
}
|
|
}
|
|
}
|
|
}
|