public static void requestTrackingAuthorizationWithCompletionHandler(Action <int> statusCallback, string sceneName = "Adjust") { if (IsEditor()) { return; } #if UNITY_IOS if (Adjust.authorizationStatusDelegates == null) { Adjust.authorizationStatusDelegates = new List <Action <int> >(); } Adjust.authorizationStatusDelegates.Add(statusCallback); AdjustiOS.RequestTrackingAuthorizationWithCompletionHandler(sceneName); #elif UNITY_ANDROID Debug.Log("[Adjust]: Requesting tracking authorization is only supported for iOS platform."); #elif (UNITY_WSA || UNITY_WP8) Debug.Log("[Adjust]: Requesting tracking authorization is only supported for iOS platform."); #else Debug.Log(errorMsgPlatform); #endif }