/// <summary> /// Setup plugins for Target and write plugins to JSON writer. Don't write anything if there are no plugins /// </summary> /// <param name="Target"></param> /// <param name="Writer"></param> private static void ExportPluginsFromTarget(UEBuildTarget Target, JsonWriter Writer) { Target.SetupPlugins(); if (!Target.BuildPlugins.Any()) { return; } Writer.WriteObjectStart("Plugins"); foreach (UEBuildPlugin plugin in Target.BuildPlugins) { ExportPlugin(plugin, Writer); } Writer.WriteObjectEnd(); }