We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edc34ad commit 0ccc25bCopy full SHA for 0ccc25b
1 file changed
plug-ins/Apple.GameKit/Apple.GameKit_Unity/Assets/Apple.GameKit/Source/GKGameActivity.cs
@@ -30,13 +30,15 @@ public class GKGameActivity : NSObject
30
/// </remarks>
31
public static event WantsToPlayHandler WantsToPlay;
32
33
+#if !UNITY_EDITOR_WIN
34
static GKGameActivity()
35
{
36
if (Availability.IsTypeAvailable<GKGameActivity>())
37
38
Interop.GKGameActivity_SetWantsToPlayCallback(OnWantsToPlay);
39
}
40
41
+#endif
42
43
#if IOS_19_BETA_1_WANTSTOPLAY_MAIN_THREAD_WORKAROUND
44
// In iOS 19 beta 1, the wantsToPlay callback isn't dispatched on the main thread.
0 commit comments