SendCreatePlayerRequestSystem Class

Namespace: Improbable.Gdk.PlayerLifecycleSource




RequestPlayerCreation Source
void RequestPlayerCreation(byte[] serializedArguments = null, Action<PlayerCreator.CreatePlayer.ReceivedResponse> callback = null)

Queues a request for player creation, if none are currently in progress. If player creation entities have already been found, the request is sent in the next tick.

  • byte[] serializedArguments : A serialized byte array of arbitrary player creation arguments.
  • Action<PlayerCreator.CreatePlayer.ReceivedResponse> callback : An action to be invoked when the worker receives a response to the player creation request.


OnCreate Source
override void OnCreate()

OnUpdate Source
override void OnUpdate()

Updated about a year ago

SendCreatePlayerRequestSystem Class

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.