|
@@ -1,15 +1,14 @@
|
|
|
-using System;
|
|
|
-using System.Runtime.InteropServices;
|
|
|
+using System;
|
|
|
using UnityEngine;
|
|
|
|
|
|
namespace GFGGame.Launcher
|
|
|
{
|
|
|
public class ATTAuth : MonoBehaviour
|
|
|
{
|
|
|
- [DllImport("__Internal")]
|
|
|
+ [System.Runtime.InteropServices.DllImport("__Internal")]
|
|
|
private static extern void _RequestTrackingAuthorizationWithCompletionHandler();
|
|
|
|
|
|
- [DllImport("__Internal")]
|
|
|
+ [System.Runtime.InteropServices.DllImport("__Internal")]
|
|
|
private static extern int _GetAppTrackingAuthorizationStatus();
|
|
|
|
|
|
private static Action<int> getAuthorizationStatusAction;
|