Class GKAccessPoint
An object that allows players to view and manage their Game Center information from within your game.
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 YES to display the access point control. To change the default location of the control, use the Location property.
Inheritance
Inherited Members
Namespace: SA.iOS.GameKit
Assembly: cs.temp.dll.dll
Syntax
public static class GKAccessPoint
Properties
Active
A Boolean value that determines whether to display the access point.
Declaration
public static bool Active { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsPresentingGameCenter
A Boolean value that indicates whether the game is presenting the Game Center dashboard.
This property is true
when the player taps the access point control
and false
when the player dismisses the Game Center dashboard.
Declaration
public static bool IsPresentingGameCenter { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Location
The corner of the screen to display the access point.
Declaration
public static GKAccessPointLocation Location { get; set; }
Property Value
Type | Description |
---|---|
GKAccessPointLocation |
ShowHighlights
A Boolean value that indicates whether to display highlights for achievements and current ranks for leaderboards.
Declaration
public static bool ShowHighlights { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Visible
A Boolean value that indicates whether the access point is visible. On Apple TV, you can set this property to YES to move the focus to the access point.
Declaration
public static bool Visible { get; }
Property Value
Type | Description |
---|---|
System.Boolean |