diff --git a/OSC/OSC.uplugin b/OSC/OSC.uplugin index a00fbaf..cb5e5a7 100644 --- a/OSC/OSC.uplugin +++ b/OSC/OSC.uplugin @@ -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, diff --git a/OSC/Source/OSC/OSC.Build.cs b/OSC/Source/OSC/OSC.Build.cs index 30a71e6..e844ba0 100644 --- a/OSC/Source/OSC/OSC.Build.cs +++ b/OSC/Source/OSC/OSC.Build.cs @@ -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"); diff --git a/README.md b/README.md index 316eb61..f5b4681 100644 --- a/README.md +++ b/README.md @@ -97,3 +97,5 @@ This plugin implements them as "Array". 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!