Play Games Services Unity Plugin (v2) Reference
These are the reference pages for the games 2.0 Unity plugin.
GooglePlayGames
Classes |
|
---|---|
PlayGamesLeaderboard | Represents a Google Play Games leaderboard. |
PlayGamesLocalUser | Represents the Google Play Games local user, providing access to authentication and user-specific functionality. |
PlayGamesPlatform | Provides access to the Google Play Games platform. |
PlayGamesScore | Represents a score on a Google Play Games leaderboard. |
PlayGamesUserProfile | Represents a Google Play Games user profile. |
GooglePlayGames. BasicApi
Classes |
|
---|---|
Achievement | Data interface for retrieving achievement information. |
AuthResponse | Represents the response received from Play Games Services when requesting a server-side OAuth 2.0 authorization code for the signed-in player. |
AuthScopeExtensions | Extensions for the AuthScope enum. |
CommonTypesUtil | Utility class for common types. |
DummyClient | Dummy client used in Editor. |
LeaderboardScoreData | Leaderboard score data. |
Player | Represents a player. |
PlayerProfile | Represents a player, a real-world person (tied to a Games account). |
PlayerStats | Player stats. |
RecallAccess | Recall Access data. |
ScorePageToken | Score page token. |
Interfaces |
|
---|---|
IPlayGamesClient | Defines an abstract interface for a Play Games Client. |
GooglePlayGames. BasicApi. Events
Interfaces |
|
---|---|
IEvent | Data object representing an Event. |
IEventsClient | An interface for interacting with events. |
GooglePlayGames. BasicApi. Nearby
Classes |
|
---|---|
DummyNearbyConnectionClient | Dummy implementation of INearbyConnectionClient. |
Interfaces |
|
---|---|
IDiscoveryListener | Interface for receiving notifications about discovered endpoints. |
IMessageListener | Interface for receiving messages and notifications about remote endpoints. |
INearbyConnectionClient | Interface for managing connections and communications between devices using Nearby Connections. |
Structs |
|
---|---|
AdvertisingResult | Represents the result of an attempt to start advertising for nearby connections. |
ConnectionRequest | Represents a request to establish a connection with a remote endpoint. |
ConnectionResponse | Represents a response to a connection request, including status, payload, and identifying information. |
EndpointDetails | Represents details of an endpoint involved in a Nearby Connections operation. |
NearbyConnectionConfiguration | Defines the configuration for establishing a Nearby connection. |
GooglePlayGames. BasicApi. SavedGame
Interfaces |
|
---|---|
IConflictResolver | An interface that allows developers to resolve metadata conflicts that may be encountered while opening saved games. |
ISavedGameClient | The main entry point for interacting with saved games. |
ISavedGameMetadata | Interface representing the metadata for a saved game. |
Structs |
|
---|---|
SavedGameMetadataUpdate | A struct representing the mutation of saved game metadata. |
SavedGameMetadataUpdate.Builder | A builder for constructing instances of SavedGameMetadataUpdate. |