21 lines
767 B
C#
21 lines
767 B
C#
|
using System;
|
|||
|
using UnityEditor.Build.Reporting;
|
|||
|
using TapTap.Common.Editor;
|
|||
|
|
|||
|
namespace TapTap.Bootstrap.Editor {
|
|||
|
public class TapBootstrapProcessBuild : SDKLinkProcessBuild {
|
|||
|
public override int callbackOrder => 0;
|
|||
|
|
|||
|
public override string LinkPath => "TapTap/Bootstrap/link.xml";
|
|||
|
|
|||
|
public override LinkedAssembly[] LinkedAssemblies => new LinkedAssembly[] {
|
|||
|
new LinkedAssembly { Fullname = "TapTap.Bootstrap.Runtime" },
|
|||
|
};
|
|||
|
|
|||
|
public override Func<BuildReport, bool> IsTargetPlatform => (report) => {
|
|||
|
return BuildTargetUtils.IsSupportMobile(report.summary.platform) ||
|
|||
|
BuildTargetUtils.IsSupportStandalone(report.summary.platform);
|
|||
|
};
|
|||
|
}
|
|||
|
}
|