-
Notifications
You must be signed in to change notification settings - Fork 1
GK Access Point
Stanislav Osipov edited this page Feb 15, 2021
·
1 revision
The access point displays a control in a corner of your game that opens a Game Center dashboard when the player taps or clicks it.
Set Active to true to display the access point control.
using SA.iOS.GameKit;
...
GKAccessPoint.Active = true;You can change the default location of the control, use the Location property.
using SA.iOS.GameKit;
...
GKAccessPoint.Location = GKAccessPointLocation.TopTrailing;The ShowHighlights property indicates whether to display highlights for achievements and current ranks for leaderboards.
using SA.iOS.GameKit;
...
GKAccessPoint.ShowHighlights = true;In addition, you can check if the game is presenting the Game Center dashboard using GKAccessPoint.IsPresentingGameCenter or if the access point is visible with GKAccessPoint.Visible
Reliable and high-quality Unity Development service. Let's Talk!
Website | AssetStore | LinkedIn | Youtube | Scripting Reference
- Getting Started
- Authentication
- Game Center UI
- Leaderboards
- Default Leaderboard
- Achievements
- Saving A Game
- Access Point
- iTunes Connect Setup
- StoreKit Initialization
- Purchase flow
- Receipt Validation
- Store Review Controller
- Storefront API
- Subscription Offers