inside of MatchDetailsResponse,MatchDetailsRequest,MatchFoundMessage(global and user both) i am trying to get participants list by :
but always getting error on that line.
i need to send some instruction to each of the participants. how to get the id of those participate players?
Will give you access to the array of participants of type 'Player'.
Will return you the id of the first player, you will need to create a foreach loop to return the id of every player.
Also SparkMatch is a type, you're simply calling a function from a type - similar to having Array.concat.
Hope this helps,