This folder contains the Game Server SDK for the Unity game engine. The GSDK files are in the PlayFabSdk/MultiplayerAgent
folder. The entire GSDK is usable via class PlayFabMultiplayerAgentAPI
. There is a sample scene in the MultiplayerServerSample
folder that is meant to be used as a guidance when starting up a new project. For a more robust sample, check our gsdksamples
repository here.
Yup, PlayFab SDK and GSDK would reside in different folders in your Unity project, thus having no conflict.
You can drag the PlayFabSDK
folder to your Unity project. After that, you need to enable the scripring directive ENABLE_PLAYFABSERVER_API
on your Build settings, like in this screenshot
- April 7th, 2020: This release of Unity GSDK removes the PlayFab SDK dependency. It keeps only the related SimpleJson serializer files. As we consider this release experimental, if you find any issues please let us know by opening a new issue. Previous release can be found here.