[ue4] Added commented build line in plugin Build.cs for UE 4.20. Updated C++ sample.

This commit is contained in:
badlogic 2018-06-08 15:40:14 +02:00
parent 754d7f8ac5
commit 4273b798f3
2 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,8 @@ namespace UnrealBuildTool.Rules
PrivateIncludePaths.AddRange(new string[] { "SpinePlugin/Private", "SpinePlugin/Public/spine-cpp/include" });
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "RHI", "RenderCore", "ShaderCore", "ProceduralMeshComponent", "UMG", "Slate", "SlateCore" });
Definitions.Add("SPINE_UE4");
// In Unreal 4.20, comment the above line, uncomment the below line
// PublicDefinitions.Add("SPINE_UE4");
}
}
}