Skip to content

Commit fa4c4e1

Browse files
authored
Merge pull request #7 from slavaobninsk/patch-1
Only execute editor script for Android in the Editor
2 parents a570f16 + 8e7eaaf commit fa4c4e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Unity4.7OneSignalExample/Assets/Plugins/OneSignal/Editor/OneSignalEditorScript.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#if UNITY_ANDROID
1+
#if UNITY_ANDROID && UNITY_EDITOR
22
using UnityEditor;
33
using System.IO;
44
using UnityEngine;
@@ -25,4 +25,4 @@ static OneSignalEditorScript () {
2525
}
2626
}
2727
}
28-
#endif
28+
#endif

0 commit comments

Comments
 (0)