Sites

Menu

Player Lifecycle Feature Module

The Player Lifecycle Feature Module provides player creation functionality and simple player lifecycle management.

The module includes the following features:

  • Send player creation requests and handle responses.
  • Ability to provide arbitrary serialized data as part of the player creation loop.
  • Send and acknowledge player heartbeats.

You can find more information about the underlying APIs provided in our API reference docs.

Installation

1. Add the package

Add this feature module to your project via the Package Manager UI.

Or add it to your Packages/manifest.json:

{
  "dependencies": {
    "io.improbable.gdk.playerlifecycle": "0.2.9"
  },
}

2. Reference the assemblies

The Player Lifecycle Feature Module contains a single assembly definition file which you must reference. This process differs depending on whether you have an assembly definition file in your own project or not.

I have an assembly definition file

Open your assembly definition file and add Improbable.Gdk.PlayerLifecycle to the reference list.

I don’t have an assembly definition file

If you don’t have an assembly definition file in your project, Unity will automatically reference the Improbable.Gdk.PlayerLifecycle assembly for you.

Search results

Was this page helpful?

Thanks for letting us know!

Thanks for your feedback

Need more help? Ask on the forums