This class allows access to all of the platform specific functions such as the signed in player, or unlocking achievements, viewing leaderboards etc... The default platform wrappers are provided for Steam, Google Play and iOS. You can create your own by implementing the vxIPlayerProfile interface and overriding the VerticesEngine.vxGame.InitPlayerPlatformProfile() method call.
More...
|
static vxIPlayerProfile | Player [get] |
| This is the main player profile signed in to the game. You can unlock achievements and view leaderboards through this property here.
|
|
static vxPlatformType | Platform [get] |
| What platform are we currently running as?
|
|
This class allows access to all of the platform specific functions such as the signed in player, or unlocking achievements, viewing leaderboards etc...
The default platform wrappers are provided for Steam, Google Play and iOS. You can create your own by implementing the vxIPlayerProfile interface and overriding the VerticesEngine.vxGame.InitPlayerPlatformProfile() method call.
public sealed class MyPlatformPlayerProfileWrapper : vxIPlayerProfile { ... }
◆ GetAchievement()
static vxAchievement VerticesEngine.Profile.vxPlatform.GetAchievement |
( |
object | key | ) |
|
|
static |
Gets the achievement for the current player.
- Parameters
-
- Returns
◆ UnlockAchievement()
static void VerticesEngine.Profile.vxPlatform.UnlockAchievement |
( |
object | key | ) |
|
|
static |
Unlock Achievements for the current player.
- Parameters
-
The documentation for this class was generated from the following file:
- /github/workspace/src/VerticesEngine/src.shared/Platform/vxPlatform.cs