AppTrackingTransparency.cs 360 B

12345678910111213141516
  1. #if UNITY_IOS
  2. namespace GFGGame.IOS
  3. {
  4. public class AppTrackingTransparency
  5. {
  6. [System.Runtime.InteropServices.DllImport("__Internal")]
  7. private static extern void RequestTrackingAuthorizationI();
  8. public static void RequestTrackingAuthorization()
  9. {
  10. RequestTrackingAuthorization();
  11. }
  12. }
  13. }
  14. #endif