public static void trackMeasurementConsent(bool measurementConsent) { if (IsEditor()) { return; } #if UNITY_IOS AdjustiOS.TrackMeasurementConsent(measurementConsent); #elif UNITY_ANDROID AdjustAndroid.TrackMeasurementConsent(measurementConsent); #elif (UNITY_WSA || UNITY_WP8) Debug.Log("[Adjust]: Measurement consent tracking is only supported for iOS and Android platforms."); #else Debug.Log(errorMsgPlatform); #endif }