Skip to content

Commit 791aa95

Browse files
authored
Merge pull request #16 from aDu/master
Fix UNITY_2019_1_OR_NEWER directive
2 parents 7498674 + 2fc2462 commit 791aa95

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Editor/NativeDllHandler.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ static DiscordNativeInstall()
3535
}
3636
}
3737

38-
#if !UNITY_2019_OR_NEWER
38+
#if !UNITY_2019_1_OR_NEWER
3939
FixLinkerSettings();
4040
#endif
4141
}
@@ -64,4 +64,4 @@ static void FixLinkerSettings()
6464
AssetDatabase.Refresh();
6565
}
6666
}
67-
}
67+
}

Runtime/DiscordManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public enum Pipe
8787
#endregion
8888

8989
[Header("Handlers and Events")]
90-
#if UNITY_2019_OR_NEWER
90+
#if UNITY_2019_1_OR_NEWER
9191
public UnityEvent<ReadyEvent> OnReady;
9292
public UnityEvent<CloseMessage> OnClose;
9393
public UnityEvent<PresenceEvent> OnPresence;

0 commit comments

Comments
 (0)