Skip to content

Commit 5105a84

Browse files
committed
Merge pull request googleanalytics#112 from shazow/master
Unity API compat: Check against v5.x rather than v5.0
2 parents cb07005 + b51d86a commit 5105a84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/Plugins/GoogleAnalyticsV4/GoogleAnalyticsV4.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ void Awake() {
119119
}
120120

121121
if (UncaughtExceptionReporting) {
122-
#if UNITY_5_0
122+
#if UNITY_5
123123
Application.logMessageReceived += HandleException;
124124
#else
125125
Application.RegisterLogCallback (HandleException);

0 commit comments

Comments
 (0)