Skip to content

Add preserve to multiple GameKit constructors - #73

Merged
ryzngard merged 2 commits into
mainfrom
dev/ahall32/reduce_stripping_constructors
Dec 4, 2025
Merged

ryzngard merged 2 commits into
mainfrom
dev/ahall32/reduce_stripping_constructors

Conversation

@ryzngard

@ryzngard ryzngard commented Dec 2, 2025

Copy link
Copy Markdown
Collaborator

Fixes #61

Reduce stripping of contructors for types in GameKit

@ryzngard
ryzngard requested a review from jared-marsau December 2, 2025 21:24
@ryzngard
ryzngard merged commit ce461f8 into main Dec 4, 2025
@ryzngard
ryzngard deleted the dev/ahall32/reduce_stripping_constructors branch December 4, 2025 18:59
ryzngard added a commit to ryzngard/unityplugins that referenced this pull request Dec 9, 2025
…ccessPoint.Shared.IsActive = true (apple#73)

This change removes setting parentWindow to UiUtilities.defaultWindow()
on all OSes except visionOS (since it won't show at all without setting
there). GameKit will handle a nil value by trying to add to the main
window for the game.

Follow up work needs to be done to allow setting parentWindow from C# in
Unity so that creators can use custom windows as needed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GKGameCenterViewController strip code

1 participant