21 lines
533 B
C#
21 lines
533 B
C#
#if UNITY_IPHONE
|
|
using Appodeal.Unity.Editor.Utils;
|
|
using UnityEditor;
|
|
using UnityEditor.Callbacks;
|
|
using UnityEngine;
|
|
|
|
namespace AppodealAds.Unity.Editor.Utils
|
|
{
|
|
public class AppodealPostProcess : MonoBehaviour
|
|
{
|
|
[PostProcessBuild(100)]
|
|
public static void OnPostProcessBuild(BuildTarget target, string path)
|
|
{
|
|
if (target.ToString() == "iOS" || target.ToString() == "iPhone")
|
|
{
|
|
iOSPostprocessUtils.PrepareProject(path);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif |