question

Ross Klettke avatar image
Ross Klettke asked

PlayFabMultiplayerManager (Unity) Party -- send to one player

Possibly I missed this somewhere but when using PlayFabMultiplayerManager, what's the recommended way to send data to just one player? (The SendDataMessage methods seem to all accept just IEnumerables)


Right now I reuse an array-of-length-1 any time that I need to do this


Thanks,

--Ross

unity3d
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Sarah Zhang avatar image
Sarah Zhang answered

Unity Party SDK doesn’t provide other methods to send data messages to single player except for the SendDataMessage method. Using the one-length array is the right way to send the message to one player.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.