Sign In Register

How can we help you today?

Start a new topic
Answered

self peer id

 how to get which peer id is players own id?


Best Answer

Hi Zaur,


You can get the player id from a peer id in Cloud Code using SparkParticipant. You should be able to find the id you need using this.

If you are referring to the peerID in the client SDK you can get this using GameSparksRTUnity.PeerID

If you have any further questions just let us know.


Thanks,

Liam

1 Comment

Answer

Hi Zaur,


You can get the player id from a peer id in Cloud Code using SparkParticipant. You should be able to find the id you need using this.

If you are referring to the peerID in the client SDK you can get this using GameSparksRTUnity.PeerID

If you have any further questions just let us know.


Thanks,

Liam

Login to post a comment