TeleportActorsToNewServer
Method
Similar to TeleportToNewServer
, but allows specifying a list of actors to teleport to
the new server.
To check if the teleport was successful, listen to the onConnectionStatusChanged
event.
Parameters
Parameter | Description |
---|---|
IReadOnlyCollection<int> actorNumbers | Which actors should be teleported? This can include the local actor too |
int maxParticipants | Max number of participants (actors) allowed to join this server concurrently |
bool isVisible | Is this server visible to others, and should it be taken account for matchmaking? |
IReadOnlyCollection<KeyValuePair<string, object>> serverProperties | Properties to set for the new server |
IReadOnlyCollection<string> matchProperties | Which of the "serverProperties" should be made available for matchmaking check? |