Skip to content

Commit 69c9fbb

Browse files
committed
Merge pull request #35 from adjust/editor
Editor
2 parents 153fbce + 2a47f45 commit 69c9fbb

7 files changed

+13
-4
lines changed

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,3 +151,9 @@ MetroTestCertificate.pfx*
151151
src/
152152
src.meta
153153
ProjectSettings/
154+
155+
# ==================== #
156+
# Unity Project necessary
157+
# ==================== #
158+
Assembly-CSharp*
159+
unity_sdk*.sln

Adjust_v3.4.1.unitypackage

-835 KB
Binary file not shown.

Adjust_v3.4.2.unitypackage

-849 KB
Binary file not shown.

Adjust_v3.4.3.unitypackage

-849 KB
Binary file not shown.

Adjust_v3.4.4.unitypackage

848 KB
Binary file not shown.

Assets/Adjust.cs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public class Adjust : MonoBehaviour {
1414
public AdjustUtil.AdjustEnvironment environment = AdjustUtil.AdjustEnvironment.Sandbox;
1515
public bool eventBuffering = false;
1616
public bool startManually = false;
17-
public const string sdkPrefix = "unity3.4.3";
17+
public const string sdkPrefix = "unity3.4.4";
1818

1919
void Awake() {
2020
if (!this.startManually) {
@@ -36,10 +36,13 @@ void OnApplicationPause(bool pauseStatus) {
3636

3737
public static void appDidLaunch(string appToken, AdjustUtil.AdjustEnvironment environment, AdjustUtil.LogLevel logLevel, bool eventBuffering) {
3838
if (Adjust.instance != null) {
39-
Debug.Log("adjust: warning, SDK already started. Restarting");
39+
Debug.Log("adjust: error, SDK already started.");
40+
return;
4041
}
4142

42-
#if UNITY_ANDROID
43+
#if UNITY_EDITOR
44+
Adjust.instance = null;
45+
#elif UNITY_ANDROID
4346
Adjust.instance = new AdjustAndroid();
4447
#elif UNITY_IOS
4548
Adjust.instance = new AdjustIOS();

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.4.3
1+
3.4.4

0 commit comments

Comments
 (0)