16 lines
401 B
C#
16 lines
401 B
C#
|
#if UNITY_EDITOR && UNITY_2018_1_OR_NEWER
|
|||
|
using UnityEditor;
|
|||
|
using UnityEditor.Build;
|
|||
|
using UnityEditor.Build.Reporting;
|
|||
|
using UnityEngine;
|
|||
|
|
|||
|
class OnBuildPostprocess : IPostprocessBuildWithReport
|
|||
|
{
|
|||
|
public int callbackOrder { get { return 0; } }
|
|||
|
public void OnPostprocessBuild(BuildReport report)
|
|||
|
{
|
|||
|
VLB.PlatformHelper.SetBuildTargetOverride(BuildTarget.NoTarget);
|
|||
|
}
|
|||
|
}
|
|||
|
#endif
|