TapCommon-Unity/Standalone/Editor/TapCommonStandaloneProcessB...

20 lines
779 B
C#
Raw Normal View History

2023-10-24 12:04:07 +08:00
using System;
using UnityEditor.Build.Reporting;
using TapTap.Common.Editor;
namespace TapTap.Common.Editor {
public class TapCommonStandaloneProcessBuild : SDKLinkProcessBuild {
public override int callbackOrder => 0;
public override string LinkPath => "TapTap/Common/link.xml";
public override LinkedAssembly[] LinkedAssemblies => new LinkedAssembly[] {
new LinkedAssembly { Fullname = "TapTap.Common.Runtime" },
new LinkedAssembly { Fullname = "TapTap.Common.Standalone.Runtime" }
};
public override Func<BuildReport, bool> IsTargetPlatform => (report) => {
return BuildTargetUtils.IsSupportStandalone(report.summary.platform);
};
}
}