mirror of
https://github.com/storytold/UE4-OSC.git
synced 2026-10-09 00:09:43 +00:00
4.16 fix
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@
|
||||
"VersionName" : "1.0",
|
||||
"CreatedBy" : "Guillaume Buisson",
|
||||
"CreatedByURL" : "http://guillaume.io",
|
||||
"EngineVersion" : "4.4.0",
|
||||
"EngineVersion" : "4.16.0",
|
||||
"Description" : "",
|
||||
"Category" : "OSC",
|
||||
"EnabledByDefault" : true,
|
||||
|
||||
@@ -2,8 +2,8 @@ namespace UnrealBuildTool.Rules
|
||||
{
|
||||
public class OSC : ModuleRules
|
||||
{
|
||||
public OSC(TargetInfo Target)
|
||||
{
|
||||
public OSC(ReadOnlyTargetRules Target) : base(Target)
|
||||
{
|
||||
PublicDependencyModuleNames.AddRange(
|
||||
new string[]
|
||||
{
|
||||
@@ -38,7 +38,7 @@ namespace UnrealBuildTool.Rules
|
||||
}
|
||||
);
|
||||
|
||||
if (Target.Type.HasValue && Target.Type.Value == TargetRules.TargetType.Editor)
|
||||
if (Target.Type == TargetRules.TargetType.Editor)
|
||||
{
|
||||
Definitions.Add("OSC_EDITOR_BUILD=1");
|
||||
|
||||
|
||||
@@ -97,3 +97,5 @@ This plugin implements them as "Array<uint8>". It plays nicely with the "Extende
|
||||
# Engine version
|
||||
|
||||
Get the right branch for your engine version: "master" for the latest version, "before4.8" for 4.4, ..., 4.7, etc.
|
||||
|
||||
If the plugin does not work/build for the current version, feel free to create an issue or email me!
|
||||
|
||||
Reference in New Issue
Block a user