Files
Hasebe/Library/PackageCache/com.gustavopsantos.reflex@7857b9937c99/Editor/Linking/Linker.cs
T
2026-09-21 12:15:57 +03:00

18 lines
571 B
C#

using System.IO;
using UnityEditor.Build;
using UnityEditor.Build.Reporting;
using UnityEditor.UnityLinker;
// https://github.com/jilleJr/Newtonsoft.Json-for-Unity/wiki/Embed-link.xml-in-UPM-package
namespace Reflex.Editor.Linking
{
internal sealed class Linker : IUnityLinkerProcessor
{
public int callbackOrder { get; }
public string GenerateAdditionalLinkXmlFile(BuildReport report, UnityLinkerBuildPipelineData data)
{
return Path.GetFullPath("Packages/com.gustavopsantos.reflex/Resources/link.xml");
}
}
}