Sites

Menu

SendCreatePlayerRequestSystem Class

Namespace: Improbable.Gdk.PlayerLifecycle
GDK package: PlayerLifecycle
Source

Inheritance

ComponentSystem


Methods

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.

Parameters
  • 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.


Overrides

OnCreate Source
override void OnCreate()

OnUpdate Source
override void OnUpdate()

Search results

Was this page helpful?

Thanks for letting us know!

Thanks for your feedback

Need more help? Ask on the forums