diff --git a/googleanalyticsv3.unitypackage b/googleanalyticsv3.unitypackage index 9a1817a..2095a5f 100644 Binary files a/googleanalyticsv3.unitypackage and b/googleanalyticsv3.unitypackage differ diff --git a/source/Plugins/GoogleAnalyticsV3/GoogleAnalyticsMPV3.cs b/source/Plugins/GoogleAnalyticsV3/GoogleAnalyticsMPV3.cs index fe0264e..c3a84a4 100644 --- a/source/Plugins/GoogleAnalyticsV3/GoogleAnalyticsMPV3.cs +++ b/source/Plugins/GoogleAnalyticsV3/GoogleAnalyticsMPV3.cs @@ -27,6 +27,9 @@ limitations under the License. other than Android and iOS. */ public class GoogleAnalyticsMPV3 { +#if UNITY_ANDROID && !UNITY_EDITOR +#elif UNITY_IPHONE && !UNITY_EDITOR +#else private string trackingCode; private string bundleIdentifier; private string appName; @@ -416,4 +419,5 @@ public void SetOptOut(bool optOut) { this.optOut = optOut; } +#endif }