Modifier

Partager via


General PlayFab samples

These samples demonstrate how to use various PlayFab features.

Sample Name Platforms Engine Description Demonstrated Capabilities
PlayFabEconomy Android Android Studio This sample uses Android's in-app billing API and PlayFab client API, to demonstrate an in-app store that exchanges real money for virtual items in PlayFab Economy.
  • Login
  • In app purchases
PlayFabSignIn iOS, Android, PC Unity This sample demonstrates a simple PlayFab sign in flow. You may log in with an email/password, create an account, or log in as a guest. Sign in information may be remembered across executions of the sample.
  • Login
PlayFabEventsUnity Android, iOS, PC Unity This sample demonstrates sending events from within a Unity title. The sample covers player events, title events and character events.
  • Events
PlayFabLeaderboardsUnity Android, iOS, PC Unity This sample demonstrates reading and writing from/to leaderboards from within a Unity title. The sample covers lowest score/best time, high score and cumulative score leaderboards.
  • Leaderboards
SpaceRumble Android, iOS, PC Unity This sample demonstrates a simple single-player mobile game.
  • User accounts
  • User title data
  • Title data
  • Events that trigger CloudScript
  • Leaderboards
ThunderRumble PC, Xbox C++ DirectX Native This sample demonstrates scalable cloud dedicated server functionality, using the PlayFab Multiplayer Servers technology to build a complete end-to-end game experience.
  • Login
  • Matchmaking
  • Multiplayer Servers

See also