| 12345678910111213141516171819 |
- using System.Runtime.InteropServices;
- namespace DiamondArrow.Platform
- {
- // IL2CPP generates the native string marshaling code in the Launch host.
- public static class DiamondIosNative
- {
- #if UNITY_IOS && !UNITY_EDITOR
- [DllImport("__Internal")]
- public static extern void DiamondInitialize(string receiver, int testAds);
- [DllImport("__Internal")]
- public static extern void DiamondShowReward(string receiver, string request);
- [DllImport("__Internal")]
- public static extern void DiamondDetach(string receiver);
- #endif
- }
- }
|