Among room member properties, a custom property (set in the
properties property) is available. You can use it in an implementation as follows:
- Previously define a custom property to represent a team.
TeamColor for example.
- Also define values to represent teams. For example, “0: red and 1: blue”.
- In matchmaking, when enough number of room members join the room, the room owner decides a team for each room member for belonging to and set the value to represent it in the TeamColor custom property.
- Members other than the room owner wait for a value being set to TeamColor custom property, and then start playing as the assigned team.