using System.Runtime.InteropServices; namespace Neatly.Native { public class IosHelper { #if UNITY_IOS [DllImport("__Internal")] private static extern string IosCopyFile(string fileName, string outputPath); #else static string IosCopyFile(string fileName, string outputPath) { return "{\"result\":0, \"code\":0}"; } #endif public static string CopyFile(string fileName, string outputPath) { return IosCopyFile(fileName, outputPath); } } }